|
Hi Mario,
I have been doing some more testing with the Conversation Component and I have some more opportunities.
I am trying to get the Conversation functionality working. When I use ensureConversation and the user is redirected to another page, I would like to have the user notified via a message. I have added the MESSAGER context Parameter and yet the message is not displayed. For right now I am using the DefaultConversationMessager Class. Any suggestions on how to get this to work would be appreciated.
I have added this to the web.xml <context-param> <param-name>org.apache.myfaces.conversation.MESSAGER</param-name> <param-value>org.apache.myfaces.custom.conversation.DefaultConversationMessager</param-value> </context-param>
And I have a Messages Component on my Form as follows: <h:messages styleClass="error-text" showDetail="true" showSummary="true" > </h:messages>
Also previous to this I was using the Post Redirect Get Pattern to automatically redirect all pages. When I use this pattern all Data and Messages are lost if I use this Phase Listener together with the Conversation Components. Any Ideas?
http://learnjsf.com/wp/2006/08/06/a-prg-phase-listener-for-jsf/
Tom |
- Conversation - Message on ensureConversation and Conflict... Tom Innes
- Re: Conversation - Message on ensureConversation and... Mario Ivankovits

