title: JSF using same form for search and insert
body: <p>I have a form on top of the web page having some field with validations.
  So when i am doing add operation i would like to do field validation but when i am doing search operation i dont want to perform validation.</p>
  
  <p>using immediate="true" will avoid validation check, but won't update values of the variables in the bean.</p>
  
  <p>So how can i bypass process validation phase but still get values updated in model.</p>
  
  <p>I am using JSF 1.2</p>