wheni try to call dojo.widget.byId('addGroupDialog').show(); directly inside <script>, i cannot call the dialog and display it. but the latter, <input ... onclick... has no problem displaying the dialog. may i know what i miss out?
<span jwcid="@If" condition="ognl:id"> <script> dojo.widget.byId('addGroupDialog').show(); //cannot call directly??? </script> <input type="button" class="formbutton" onclick="dojo.widget.byId('addGroupDialog').show()" jwcid="[EMAIL PROTECTED]" label="sfsdf"/> // this no problem </span> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]