<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Verdana; font-size: 10pt; color: #000000'>Ian,<br><br>I had the same issue. What I ended up doing was creating/registering a custom Seam ExceptionHandler to catch ViewExpiredExceptions and redirecting to the page. The good thing is that the ViewExpiredException contains the View Id of the view that the user was trying to access, so you can just do a GET redirect to the page. The user will loose their inputed data, but at least the page will render correctly.<br><br><br><div>Drew Kutcharian<br>Chief Technology Officer<br>Venarc Inc. www.venarc.com<br>Phone: 818-524-2500<br></div><br>----- Original Message -----<br>From: "Ian Michell" <ianmichell@gmail.com><br>To: "Dan Allen" <dan.j.allen@gmail.com><br>Cc: seam-dev@lists.jboss.org<br>Sent: Friday, May 29, 2009 9:36:39 PM GMT -08:00 US/Canada Pacific<br>Subject: Re: [seam-dev] build before restore<br><br>Yeah, I guess I will have to write a work around for now, as a redirect with a message doesn't work either (although the pages.xml schema says it does), so once you log out and try to do a form post, seam throws the view state exception, however if you logout and then do a redirect it works fine, apart from the fact that I lose the message I pass on successful logout -- Almost as frustrating as seam mail!<div><br></div><div>Ian</div><div><br><div><div>On 29 May 2009, at 20:25, Dan Allen wrote:</div><br class="Apple-interchange-newline"><blockquote><div class="gmail_quote">On Fri, May 29, 2009 at 1:36 AM, Ian Michell <span dir="ltr"><<a href="mailto:ianmichell@gmail.com" target="_blank">ianmichell@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hi All,<br><br>I'm new to the list...<br><br>Hash anyone noticed that the facelet parameter BUILD_BEFORE_RESTORE breaks pageflow (as in, using a normal JSF form refuses to continue run the pageflow)? Once the parameter is removed from the web xml pageflow starts working again.</blockquote> <div><br>Yes, I did research into this setting and my conclusion was that you should not use it because it breaks things horribly. It's not just the pageflow it breaks. You get into hot water in other areas too (I'm not recalling exactly at the moment what it is). The approach in JSF 2 is much better and was designed for this setting, so basically don't use it in Facelets (the non-JSF 2 version).<br> <br>-Dan</div></div><br>-- <br>Dan Allen<br>Senior Software Engineer, Red Hat | Author of Seam in Action<br><br><a href="http://mojavelinux.com" target="_blank">http://mojavelinux.com</a><br><a href="http://mojavelinux.com/seaminaction" target="_blank">http://mojavelinux.com/seaminaction</a><br> <a href="http://in.relation.to/Bloggers/Dan" target="_blank">http://in.relation.to/Bloggers/Dan</a><br><br>NOTE: While I make a strong effort to keep up with my email on a daily<br>basis, personal or other work matters can sometimes keep me away<br> from my email. If you contact me, but don't hear back for more than a week,<br>it is very likely that I am excessively backlogged or the message was<br>caught in the spam filters. Please don't hesitate to resend a message if<br> you feel that it did not reach my attention.<br> _______________________________________________<br>seam-dev mailing list<br><a href="mailto:seam-dev@lists.jboss.org" target="_blank">seam-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/seam-dev<br></blockquote></div><br></div><br>_______________________________________________
seam-dev mailing list
seam-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/seam-dev
</div></body></html>