Hi,
I'm using the modalDialog Sandbox JSF component and it works well with
Firefox 2.x, but it doesn't with Firefox 3.x. The problem is that when
the dialog is closed the event "dialogok" don't fired. I think that
the problem is related with the Javascript Engine because the
component works well with IE6 but no with IE7.
Code for first page:
<h:outputLink value="#"
onclick="viewDialog.show();">
<h:outputText value="open dialog"/>
</h:outputLink>
<h:commandButton id="buttonReload" value="buttonReload"/>
<s:modalDialog
dialogId="viewDialog"
dialogVar="viewDialog"
styleClass="viewDialog"
dialogTitle="ViewId Dialog"
closeButton="true"
viewId="dojo/dojoDialogView.jsf">
<s:submitOnEvent event="dialogok" for="buttonReload"/>
</s:modalDialog>
Code for modalDialog:
<h:outputLink
value="#"
onclick="window.parent._myfaces_currentModal._myfaces_ok=true
window.parent._myfaces_currentModal.hide();">
<h:outputText value="close window" />
</h:outputLink>
Thanks in advanced.