Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



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

JSF input text value is not getting cleared after submission  RSS feed

 
sunil langeh
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,

While working with JSF i am facing a problem i.e textbox is not getting cleared on successfully submission of the form, Please give some idea..

Thanks
Sunil
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An h:inputText control will display whatever data value its associated value property contained when the page was (re)rendered. To clear the control (View), clear the Model.
 
sunil langeh
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply - TIM,
Could you please explain me how to clear the model with some example...
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!