I have an editable table. Each row of the table has two SelectOneChoice lists. One is dependent on the other, so I set the "Immediate" on the master list so the dependent list updates.
This causes the validators on the dependent list to fire and the "Required" validator on the dependent list to fail. How is the best way to dynamically change a dependent list without triggering validation errors?
Edited by: Greateful on May 7, 2012 7:33 AM
This list is in a row of a table. When the parent list is changed, the list content of the dependent list must re-populate. I suspect the Iterator needs to be updated. I don't want to set the value of the dependent list.. How do I update the dependent list without triggering validation errors?
Edited by: Greateful on May 7, 2012 9:53 AM
[url http://www.gebs.ro/blog/oracle/validation-problem-for-cascading-lov-with-selectonechoice-for-mandatory-fields/]Validation problem for cascading LOV with selectOneChoice for mandatory fields may help you.
Adding a ChangeListener to force a renderResponse repaints the list, but doesn't re-populate the dependent list.
Setting the "No Selection" option for the LOV displays the LOV with an empty Select Item, but I don't want this option. And I don't think it prevents the validators to fire on the field when the parent list is autoSubmitted.
These two lists are part of a table row. The second list is a required field. When the first list is autoSubmitted, how do you trigger the second list to repopulate the SelectItems? And prevent the validators to run on the Dependent list.
Edited by: Greateful on May 7, 2012 10:27 AM