| Author |
JSF input text value is not getting cleared after submission
|
sunil langeh
Ranch Hand
Joined: Sep 04, 2007
Posts: 85
|
|
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: 14568
|
|
|
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: 85
|
|
Thanks for your reply - TIM,
Could you please explain me how to clear the model with some example...
|
 |
 |
|
|
subject: JSF input text value is not getting cleared after submission
|
|
|