Back Forum Reply New

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 quot;test.xhtmlquot;

lt;p:toolbarGroup align=quot;rightquot;gt;
lt;p:commandButton value=quot;Show Popupquot; onclick=quot;popOut.show();quot; type=quot;buttonquot;  /gt;
lt;/p:toolbarGroupgt;
......................
......................
......................

lt;p:dialog id=quot;renderPopupquot; header=quot;Test Popupquot; widgetVar=quot;popOutquot; modal=quot;falsequot; height=quot;600quot; width=quot;600quot;gt;lt;p#58;panelgt;
lt;h#58;panelGrid  id=quot;displayPopupquot;gt;
......................
......................
......................

//Then we have a command button lt;h:commandButton id=quot;myUpdateButtonquot; value=quot;Submitquot;  action=quot;CALL_UPDATEquot; /gt;
lt;/h#58;panelGridgt;
lt;/p#58;panelgt;
lt;/p:dialoggt;
The quot;flow.xmlquot; contains the respective view state with many transitions....

   lt;view-state id=quot;displayOverviewquot; view=quot;/WEB-INF/jsf/display/displayOverviewquot; model=quot;formObjectquot;gt;       lt;transition on=quot;CREATEquot; bind=quot;falsequot; validate=quot;falsequot; to=quot;createDisplayquot; /gt;       lt;transition on=quot;EDITquot; to=quot;editDisplayquot; /gt;       lt;transition on=quot;CALL_UPDATEquot;gt;lt;evaluate expression=quot;TestHelper.hanldeUpdate()quot; /gt;lt;render fragments=quot;renderPopupquot;gt;lt;/rendergt;
lt;/transitiongt;

.............................
.............................
  lt;/view-stategt;

  But for some reason the popup or the dialog is lost after the transition. (Looks like its re-rendering the view again.)

Have you figured out your problem?

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

showthread.php?t=103233

Thanks!

Tom
¥
Back Forum Reply New