<div class="gmail_quote"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style=""><div><div>I had managed to get it working by doing: s:link view=&quot;/login.xhtml&quot; action=&quot;#{identity.logout}&quot; value=&quot;Logout&quot; /&gt;, basically that logs you out and displays the logout message that our front end guy wants, however until I had put BUILD_BEFORE_RESTORE in place, it kept giving view state exceptions when I tried to log back in.</div>
</div></div></blockquote><div><br>So you are trying to work around the &quot;user sits on the login page for too long and it times out&quot;. There are two alternative ways to work around this problem without BUILD_BEFORE_RESTORE.<br>
<br>#1. You can put a timer on the login page to automatically refresh itself after a fixed about of time so that the user always has a fresh page. You can simply use a meta tag for this or you can get fancy and do JavaScript.<br>
<br>#2. You can use a plain form rather than a JSF form and then process the login using a page action. You can still submit via post, but it will be treated like an initial request. The username and password will be available for injection using @RequestParameter or bound to an object using page parameters.<br>
<br>Give either of those a try and see how it works out for you. Perhaps we can get those suggestions in the knowledgebase.<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style=""><div><div>I&#39;m hoping the transition to Seam 3.0 and JSF 2.0 will be as painless as possible, which is another reason I&#39;m trying to get involved in the dev list, as it seems it&#39;s the best place for information on it and over time I want to see how I can contribute to it.</div>
</div></div></blockquote><div><br>It&#39;s going to be a while before we can even begin to talk about migration. Folks getting involved with Seam 3 now should understand that they are coding for something that is &quot;next generation&quot;. While there will be a smooth way to use Seam 2 components, the very nature of Seam 3 changes rather significantly because JSR-299 is a quite a stark change in mindset. But it&#39;s really too early to make any statement about what the path will look like...you can certainly have input in what it will be, though.<br>
<br>-Dan<br></div></div><br>-- <br>Dan Allen<br>Senior Software Engineer, Red Hat | Author of Seam in Action<br><br><a href="http://mojavelinux.com">http://mojavelinux.com</a><br><a href="http://mojavelinux.com/seaminaction">http://mojavelinux.com/seaminaction</a><br>
<a href="http://in.relation.to/Bloggers/Dan">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&#39;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&#39;t hesitate to resend a message if<br>
you feel that it did not reach my attention.<br>