IE8 Modal Panel bug
renegritsch Nov 2, 2010 8:25 AMHello,
we´ve a strange problem with our modalpanel.
In IE8 (Firefox is fine) if we show up a modal panel (with it´s own form) and make a submit to this form,
we get another conversation in seam?! Is it possible that the conversationid in the link get lost?
The problem happens, if we have a <a4j:outputPanel> inside the modal panels form.
for example (incorrect version)
{code:xml}
<rich:modalPanel id="dialogID" minWidth="600" autosized="true">
<f:facet name="header">
<h:panelGroup>
<a4j:outputPanel ajaxRendered="true">
<h:outputText value="#{model.preview}"></h:outputText>
</a4j:outputPanel>
</h:panelGroup>
</f:facet><f:facet name="controls">
<h:panelGroup>
<h:graphicImage value="#{resources.image('message.close')}" styleClass="hidelink" id="dynamicDialogPanelHidelink" style="padding:1px"/>
<rich:componentControl for="dialogID" attachTo="dynamicDialogPanelHidelink" operation="hide" event="onclick"/>
</h:panelGroup></f:facet>
<h:form id="dynamicDialogBoxForm">
<a4j:outputPanel id="modalContent">
<h:inputText value="#{somebinding}" ../>
<a4j:commandButton
oncomplete="if(#{dynamicDialogHandler.mayCloseDialog()}) Richfaces.hideModalPanel('dialogID'); return false;"
reRender="modalContent,messagesView"
id="idButtonProductOK"
value="#{convertHelper.getButtonLabel('buttonbar.product.ok')}"
action="#{dialogButtonController.onOk('dialogID')}"
style="height:20px;width:#{convertHelper.calculateButtonSize('buttonbar.product.ok')-50}px"
status="waitStatus"/>
</a4j:outputPanel>
</h:form>
</rich:modalPanel>
{code}
but if we change the order (<a4j:outputpanel> before <h:form>) everything works fine ?! Is this a bug or?