Yes, I use SWF 2.3.0 and Primefaces 2.2.1; how can I start the main flow in embedded mode?
I only know that I have to set an input param for embedded mode of the subflow as shown above...
Printable View
Yes, I use SWF 2.3.0 and Primefaces 2.2.1; how can I start the main flow in embedded mode?
I only know that I have to set an input param for embedded mode of the subflow as shown above...
That's great, the popup opens!!! Now I have only the problem that nothing happens,
when I press a button on the popup (select language, close popup, ... See code above)
Do you have also an idea what can be the problem for this behaviour?
I've tested, but that's not the problem. I've seen that there were no "update"- attributes in my p:commandButton- Tags.
When I put the "update"- attributes inside it works, but I don't understand the difference between these attributes and
the render- Tag in my Webflow?! I think in the swf documentation they say , that render- Tags can still used in combination
with jsf 2.0?! Do you know?
My next problem is that since I've set the embedded- param by calling the main flow other buttons which are not calling
a popup don't still work, nothing happens... For example:
Code:<h:form id="form">
<p:commandButton value="Page 01" action="goToPage01" />
<p:commandButton
action="selectLanguage"
process="@form"
update="form:panelPopupContent"
oncomplete="popupDialog.show()"
value="#{label.lbl_select_language}" />
<p:dialog id="popupDialog" widgetVar="popupDialog" modal="false">
<p:outputPanel id="panelPopupContent" />
</p:dialog>
</h:form>
...if I press the button to go to page 01 nothing happens...
Make your commandButtons non ajax like so :
PHP Code:<p:commandButton ajax="false" />
That's fantastic! Now everything works!! I thank you so much, because I spent a lot of time on finding a solution...
If you have a problem next time yourself then tell me, I will also try to to help you!
With best regards to Strasbourg,
Michael
My pleasure, glad to see you managed to get it working
;)
sure anytime ;)