I have a combo box(drop down list) and a text field on the page. Both of them has required set to true. When I select a value in the drop down and submit the form, the validation kicks in and I’m redirected to the same page since the text field value is null. Which is good but I loose the data selected in the drop down list. How can I retain the form data when there is a validation error? I’m using facelets with jsf1.2.
Share
HI,
It is working fine in JSF 2.0. I have just tried it. I have written the following code: