File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes JSF input text value is not getting cleared after submission Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF input text value is not getting cleared after submission" Watch "JSF input text value is not getting cleared after submission" New topic
Author

JSF input text value is not getting cleared after submission

sunil langeh
Ranch Hand

Joined: Sep 04, 2007
Posts: 88
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


Thanks
Sunil (SCJP 5)
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15641
    
  15

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
sunil langeh
Ranch Hand

Joined: Sep 04, 2007
Posts: 88
Thanks for your reply - TIM,
Could you please explain me how to clear the model with some example...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSF input text value is not getting cleared after submission
 
Similar Threads
SCEA Part-1 cleared
Cleared 399
Cleared SCEA - All parts
SCEA 5.0 part 1 cleared
Cleared with 88%