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 Re-rendering not working after validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Re-rendering not working after validation" Watch "Re-rendering not working after validation" New topic
Author

Re-rendering not working after validation

Pradeep Chandrasekharan Nair
Ranch Hand

Joined: Apr 01, 2004
Posts: 48
Hi,

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

Pradeep
 
Don't get me started about those stupid light bulbs.
 
subject: Re-rendering not working after validation
 
Similar Threads
jsf ajax rerender inputText
how to iterate.
problem when working with selectOneListbox
Help - question on selectOneListbox and page reloads
Spurious valueChangeListener calls on same JSP page