Can't reset input Field JSF


This question already has an answer here:


Try using the resetInput component:

Try using the preRenderView event of JSF and call a Bean function :

  <f:event type="preRenderView" listener="#{rBean.resetValues}"/>

As in the above example the resetValues function of rBean will be called on every page load.And in this function you can reset all your bean variables as following:

public void resetValues()



Need Your Help

Drupal 6: Getting custom fields into the database

forms drupal

I needed a custom field that couldn't be provided by the core profile module (Select list populated from a SQL query). I was able to successfully add the field with proper options; however, I am un...