aspose file tools*
The moose likes JSF and the fly likes InputTextBox used within DataTable gets cleared if no validation error occurs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "InputTextBox used within DataTable gets cleared if no validation error occurs" Watch "InputTextBox used within DataTable gets cleared if no validation error occurs" New topic
Author

InputTextBox used within DataTable gets cleared if no validation error occurs

jyoti Viv
Greenhorn

Joined: Jun 08, 2005
Posts: 3
Hi All,
I have a page with 2 set of Text Fields . One set of text fields is getting and setting data from one managed bean and the other One InputTextBox is displayed in a loop with Datatable looping through a List Of beans. In case when the second set of inputTextBoxes fails validation the erroneous contents are maintained but if the first set of TextBoxes fail validation and second set of TextBoxes does not fail validation the contents get cleared.
How to maintain the contents?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: InputTextBox used within DataTable gets cleared if no validation error occurs