Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

hi  RSS feed

 
Bhaskar GR
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to clear the jsp page form fields using jsf
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'll get more/better answers if you make the topic of your message indicate what question you're asking.

Anyway, the way to clear a form in JSF is simply to clear the properties of the backing bean for that form.
 
Matheus Viana
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you need to clear the content of the fields constantly, you better create a method in your bean that clears the values of the properties.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!