event « Seam « JSF Q&A

1. Seam/JSF form submit firing button onclick event    stackoverflow.com

I have a search form with a query builder. The builder is activated by a button. Something like this

<h:form id="search_form">
  <h:outputLabel for="expression" value="Expression"/>
  <h:inputText id="expression" required="true" value="#{searcher.expression}"/>
  <button ...

2. JSF: difference between ViewActions and preRender event    stackoverflow.com

I'm not working with seam but i hear about seam's view actions. Can't we do that already with prerender event? executing logic and using the navigation handler to redirect? Are view actions ...