Meaningless Drivel is fun!*
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Re-rendering not working after validation
 
Similar Threads
how to iterate.
problem when working with selectOneListbox
Help - question on selectOneListbox and page reloads
Spurious valueChangeListener calls on same JSP page
jsf ajax rerender inputText