<br><br><div class="gmail_quote">On Tue, Jun 2, 2009 at 10:55 AM, Dan Allen <span dir="ltr">&lt;<a href="mailto:dan.j.allen@gmail.com">dan.j.allen@gmail.com</a>&gt;</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;">
<br><br><div class="gmail_quote"><div class="im">On Tue, Jun 2, 2009 at 3:07 AM, Ken Paulsen <span dir="ltr">&lt;<a href="mailto:Ken.Paulsen@sun.com" target="_blank">Ken.Paulsen@sun.com</a>&gt;</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 Dan,<br>
<br>
How is &lt;s:viewAction ... /&gt; different than &lt;f:event /&gt; (besides that it is not generalized)?</blockquote></div></div></blockquote><div><br>So in specific terms, it is an extension. f:event is sufficient if the purpose is to perform processing at the start of the request. s:viewAction (and eventually f:viewAction) is designed for when you have to perform logic to verify that the view can even be rendered. View-level security is one example. Another is verifying that preconditions are met. And the key is to make navigation away from the view an integrated part when it&#39;s determined that the view cannot and should not be rendered.<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>