-
1. Re: Primefaces wizard
freemarket.hkatz.iscs-i.com May 12, 2011 4:42 PM (in response to shanghanyu)Thanks for confirming why I have been pulling my hair out this afternoon having encountered the similar situation as you had last winter.
Interestingly enough, I have determined that the initial assignment to
my component's property of the binding attribute of the wizard works then appears to go out of scope.My main issue is that my page action was triggered on the earlier version before the primefaces wizard using a RF tabpanel and detecting
where the user was by recording which tab was selected and firing the
correct action in the page.xml. Now I attempt to do the same but the flowlistener of the wizard is triggered after the page action is triggered.Anyone get this combination of seam page.xml in conjunction with PF
wizard working?TIA,
Henry -
2. Re: Primefaces wizard
lvdberg May 13, 2011 12:59 PM (in response to shanghanyu)Hi,
put log-lines at the various methods to see if things are written to the bean properties in the first place. Besides that chech the conversation, because although you put Conversation scope on a bean, to be able to save state it has to be a Long-running conversation. So you need a bgin-annotation or something in your page-definition.
last but not least: Prime components function a lot better inside ajax-outputpanels and update to the latest version.If you're using the JSF 1.x branch, there is a 1.1.version hidden in the Prime-SVN repository. Be aware that 1.1 is no longer supported, because the prime-guys just want to
be the first
in JSF 2.x support.Leo
-
3. Re: Primefaces wizard
shanghanyu May 13, 2011 1:38 PM (in response to shanghanyu)Hi, I finally solved the problem by changing the scope from conversion to page or session(not actually solved it but get around it). I tried the begin and end annotation, but didn't work for me.
Waiting for seam to support JSF 2. -
4. Re: Primefaces wizard
freemarket.hkatz.iscs-i.com May 18, 2011 1:40 PM (in response to shanghanyu)Leo,
I solved the problem by rearranging the order of my call backs to work in the order that occurs, seam page action followed by primefaces flowhandler.
I may try the p:wizard inside an a4j:outputPanel as currently I suspect I am
troubleshooting a jQuery issue manifesting itself as a browser issue where the wizard
works in FF, Chrome but not IE7.I did maintain conversation scope and verified that the bean is persisted in the debugger.
Henry