-
Feb 15th, 2011, 04:29 AM
#1
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:panel>
<h:panelGrid id="displayPopup">
......................
......................
......................
//Then we have a command button
<h:commandButton id="myUpdateButton" value="Submit" action="CALL_UPDATE" />
</h:panelGrid>
</p: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 at 04:36 AM.
-
Feb 18th, 2011, 07:03 PM
#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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules