Hi,
I have an error in my program by doing Dojo Dialog. It is like that.
‘dijit.byID(…)’ is null or not an object.
The program flow is like that.
I code like that in Cutom control.
<xp:dojoModule name=“dojo.cookie” />
<xp:dojoModule name=“dijit.Dialog” />
</xp:this.resources>
|
<xp:button value=“Yes” id=“button1”></xp:button> <xp:button value=“No” id=“button2”></xp:button> |
In the Xpage, there is one button to prompt this dialog.
Save Button, when i click “Save Button”, it will be prompt and ask for Yes or No like that.
In this Xpage, on “Save Button” event, i code like that.
dijit.byId(“ConfirmDialog”).show();
Thanks and Regds,
JC