10 Replies Latest reply on Oct 16, 2008 5:13 AM by carlhowarth

    Modal Panel trouble on upgrade


      Hello there, I have tried to upgrade an application from 3.1.4.ga to 3.2.2.ga and am having difficulties trying to get the modal panel to function as it did previously.

      My modal panel allows user interaction and is therefore placed just above the form of my page and has its own form internally. It is displayed using the 'showWhenRendered' method and is surrounded by a t:panelGroup. When I now choose an option on my form that sets the boolean that the showwhenrendered option is bound to to false, instead of just hiding the panel as it did previously it just displays a completely blank page.

      Here is my panel, less some detail:

      <t:panelGroup id="modal_po_completion_panel" forceId="true">
       <rich:modalPanel showWhenRendered="true" rendered="#{maintainPurchaseOrderBean.poCompletionMode}" width="520"
       autosized="true" style="text-align: left;">
       <f:facet name="header">
       <h:outputText value="#{webtext.complete_po}"/>
       <a4j:commandLink value="#{webtext.continue}" actionListener="#{maintainPurchaseOrderBean.completePurchaseOrder}" reRender="modal_po_completion_panel"/>
       <h:outputText value=" | "/>
       <a4j:commandLink value="#{webtext.cancel}" actionListener="#{maintainPurchaseOrderBean.togglePOCompletionMode}" reRender="modal_po_completion_panel"
       <f:facet name="start">
       <h:panelGrid columns="2">
       <h:graphicImage url="i/waiting.gif"/>
       <h:outputText value="#{webtext.processing_please_wait}" style="font-size: 10px; font-style: italic;"/>
       <f:facet name="errorMarker">
       <h:graphicImage value="/i/error.jpg"/>

      Can anybody please advise me what has changed and what I need to now do in order to get this to work as it did previously?

      Many thanks, Carl