This content has been marked as final.
Show 4 replies
-
1. Re: Losing web page state on validation error with Hibernate
pmuir Oct 27, 2007 7:02 AM (in response to jcelano)1)Why are you using an h:outputLink not a s:link?
2) Where do you start the long running conversation? -
2. Re: Losing web page state on validation error with Hibernate
jcelano Nov 9, 2007 4:53 PM (in response to jcelano)sorry it took me so long to reply....
1) I tried using an s:link, with the same results, code is below<s:link view="/userinfo.seam" value="User - Edit Current User" <f:param value="#{user.id}" name="id"></f:param> </s:link>
2) Not sure why i would need a long running conversation (unless i am completely missing something). The scope is relatively small...the page is displayed, the validation fails on the page. It seems to me that the validation failure should return the page as a managed page, but then again, i could be completely off base.
Joe C -
3. Re: Losing web page state on validation error with Hibernate
dustismo Nov 9, 2007 5:07 PM (in response to jcelano)I think your problem is that you are using userinfo.seam instead of userinfo.xhtml
-
4. Re: Losing web page state on validation error with Hibernate
jacob.orshalick Nov 9, 2007 6:21 PM (in response to jcelano)"jcelano@netkey.com" wrote:
2) Not sure why i would need a long running conversation (unless i am completely missing something). The scope is relatively small...the page is displayed, the validation fails on the page. It seems to me that the validation failure should return the page as a managed page, but then again, i could be completely off base.
If you want to maintain state between requests you will have to begin a long-running conversation. A temporary conversation only lasts for the scope of a request. In other words, all state is lost at the end of the request (when the response is rendered) unless you specify to promote the conversation to long-running.