I have a page already build with a dijit.ToolBar as part of the page
, and I am adding a Toaster to it after the fact by:
function surpriseMe() {
dijit.byId('toast').setContent('Version: 0.1rc3
other stuff: here','fatal',0);
dijit.byId('toast').show();
}
toolbar = dojo.byId('gidgetToolBar');
toolbar.innerHTML = '';
toolbar.innerHTML += 'Gidget Info';
This works, but after I click the getInfo button, the button disappears. Any idea what could be happening? Keep in mind this is my first use of a Toaster, this may be a feature that I am just not aware of, but I couldn't find anything that would indicate that.
Thanks.
Dave

Never Mind
Weird ... I just changed the order of the button and the Toaster, and it worked
script type="text/javascript"> function surpriseMe() { dijit.byId('toast').setContent('Version: 0.1rc3Gidget Info ';
toolbar.innerHTML += '';
other stuff: here','message',0); dijit.byId('toast').show(); } toolbar = dojo.byId('gidgetToolBar'); toolbar.innerHTML = '