File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Re-rendering not working after validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Re-rendering not working after validation" Watch "Re-rendering not working after validation" New topic

Re-rendering not working after validation

Pradeep Chandrasekharan Nair
Ranch Hand

Joined: Apr 01, 2004
Posts: 48

My scenario is once I select <h:selectOneListbox> I have to populate some fields depending upon the selected value. It is working fine and I am using AJAX and re-rendering those fields once the value is changed.

The problem is once i click the submit button with some fields empty and those fields are having required="true" attribute set, it will show field required. But after that re-rendering is not happening when i click the <h:selectOneListbox> box. That means the fields are not getting populated again depending on the selected value.

Any idea why it is happening.

Thanks in Advance

Don't get me started about those stupid light bulbs.
subject: Re-rendering not working after validation
It's not a secret anymore!