I've got an application that is using dijit Editors - I'm declaring these programmatically and setting class:'tundra' in my js build statement. While this styles the editor itself according to the tundra theme, it does not properly style any drop-down buttons (ie, the createLink plugin). looking at the generated HTML I see that the divs that contain the drop-down are appended to the bottom of the html page, outside of any containers but inside body. As such, only by setting can I get these divs (that define the drop-down buttons) styled according to the tundra theme.
class
ComboBox created by script don't preserve style and class attributes
Submitted by volkerw on Mon, 01/28/2008 - 16:50.
Hi,
i observed a different behavior in creating a combobox by using
and
with
var options = new dojo.data.ItemFileWriteStore({data: {identifier: 'name', items:[]}});
options.newItem({name: 'foo'});
options.newItem({name: 'bar'});
var comboBox = new dijit.form.ComboBox(
{store: options},
dojo.byId("mycombobox")
);in the body onload script.
