JSF + Webflow popup question
I am trying to get a popup in Spring Webflow working but just can't seem to get it right.
I am currently working with JSF 2.0, Webflow 2.3.0 CI-29 (although I also tried the same with v2.2.1) and primefaces 2.2 RC2.
The problem is that nothing happens when I click the commandLink that is supposed to open the popup view. When I specify a non-existing page fragment for the on-entry event then a popup window appears with the stack trace and the respective error message that the element can not be found however when I use a (seemingly) valid element then simply nothing happens.
I simplified by example to just the popup element so I can illustrate my problem. Below is the code of the index page, the popup page and the respective flow definition:
<h:body style="background-color: gray">
<p:commandLink action="openPopup" value="Open Popup" ajax="true" />
<h:outputText id="baz" value="test" />
I also tried to use <sf:commandLink/> instead of <p:commandLink/> but the result appears to be the same.
<?xml version="1.0" encoding="UTF-8"?>
<view-state id="indexPage" view="indexPage.xhtml" >
<transition on="openPopup" to="popupPage" >
<transition on="cancel" to="cancel"/>
<view-state id="popupPage" popup="true" view="popupPage.xhtml">
<render fragments="popupFragment" />
<transition to="indexPage" />
<end-state id="cancel" />
I am a bit lost now and don't know why nothing is shown (not even any error message), so any help would be much appreciated.
embedded flow not working - swf 2.3.0 and primefaces 2.2RC2
That's what I am looking to do but I am not able to make embedded flow to work, it still is redirecting , whereas I believe it should return ajax partial response.
I used the booking-faces example to test it, it doesn't work with it as well. What can be wrong here?
Any help will be greatly appreciated.