Login Register

class

theme (ie, class="tundra") but not on body

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.

ComboBox created by script don't preserve style and class attributes

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.

Syndicate content