Announcement Announcement Module
Collapse
No announcement yet.
Popup or Dialog lost after transition Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Popup or Dialog lost after transition

    Hello Everyone,

    I am using webflow 2.2.1 RELEASE along with primefaces 2.2 and facing the following problem..

    Following is the sample code of my "test.xhtml"

    <p:toolbarGroup align="right">
    <p:commandButton value="Show Popup" onclick="popOut.show();" type="button" />
    </p:toolbarGroup>
    ......................
    ......................
    ......................

    <p:dialog id="renderPopup" header="Test Popup" widgetVar="popOut" modal="false" height="600" width="600">
    <p&#58;panel>
    <h&#58;panelGrid id="displayPopup">
    ......................
    ......................
    ......................

    //Then we have a command button
    <h:commandButton id="myUpdateButton" value="Submit" action="CALL_UPDATE" />
    </h&#58;panelGrid>

    </p&#58;panel>
    </p:dialog>



    The "flow.xml" contains the respective view state with many transitions....


    <view-state id="displayOverview" view="/WEB-INF/jsf/display/displayOverview" model="formObject">
    <transition on="CREATE" bind="false" validate="false" to="createDisplay" />
    <transition on="EDIT" to="editDisplay" />
    <transition on="CALL_UPDATE">
    <evaluate expression="TestHelper.hanldeUpdate()" />
    <render fragments="renderPopup"></render>
    </transition>

    .............................
    .............................

    </view-state>


    But for some reason the popup or the dialog is lost after the transition. (Looks like its re-rendering the view again.)
    Last edited by Spring webflow user; Feb 15th, 2011, 05:36 AM.

  • #2
    Have you figured out your problem?

    I think I have running into the same thing...

    http://forum.springsource.org/showthread.php?t=103233

    Thanks!

    Tom

    Comment

    Working...
    X