[jboss-user] [JBoss Seam] - clearing values in text fields after navigating back

asookazian do-not-reply at jboss.com
Thu Sep 13 18:27:07 EDT 2007


Jboss 4.0.5.GA
Seam 1.2.1.GA

I'm using the following code in pages.xml to navigate back to a screen after the user finishes a conversation (use case):

  | <!-- navigate back to adminUserRoles.xhtml after user submits a user role update -->
  |     
  |     <page view-id="/selectUser.xhtml">
  |     	<navigation from-action="#{userRoleSearch.submitSelection}">
  |     		<redirect view-id="/adminUserRoles.xhtml"/>
  |     	</navigation>
  |     </page>

The fields for first name and last name rendered by <h:inputText> tags are still populated with the input from the use case.  Is there an easy way to have them cleared upon redirect?  thx.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084266#4084266

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084266



More information about the jboss-user mailing list