This content has been marked as final.
Show 1 reply
-
1. Re: submittedValue lost in a:repeat when commandbutton immed
drtog16 Dec 30, 2008 11:09 AM (in response to drtog16)Well looking at the source code of richfaces it seems their iterating components subclass uidataadaptor. that class has the following method
protected boolean keepSaved(FacesContext context) { // For an any validation errors, children components state should be preserved FacesMessage.Severity sev = context.getMaximumSeverity(); return (sev != null && (FacesMessage.SEVERITY_ERROR.compareTo(sev) >= 0));
Else where in the code the keepSave(..) method is called to test if it should remove the state of children.
Possible solutions are to either add a faces message of at least severity error.. or modify the code.. hmmm...