[Dojo-interest] Can specify templateCssPath in div object?

sam foster potatosculptor at gmail.com
Thu Apr 13 11:39:43 MDT 2006


Did you try it?
Yes. In general, if a class defines a property, you can supply a value
for that property using an attribute of the same name. This will
override any default that class sets. HtmlWidget (the base class for
FloatingPane) defines a templateCssPath property, so you should be
good to go.

As far as I can tell, the url you supply for templateCssPath ends up
being requested *synchronously* and the file's contents inserted as a
style node into the document. So, it should be either a root relative
path (/css/your.css) or relative to the document (?)

hth
Sam


More information about the Dojo-interest mailing list