>>>>> On Wed, 13 Mar 2013 14:39:46 -0400, Andy Schwartz <andy.schwartz_at_oracle.com> said:
AS> Comments on the following new UIViewRoot API:
AS> Index: javax/faces/component/UIViewRoot.java
AS> ===================================================================
AS> --- javax/faces/component/UIViewRoot.java (revision 8845)
AS> +++ javax/faces/component/UIViewRoot.java (revision 11719)
AS> + * <p class="changed_added_2_2">Visit the clientIds and, if the
AS> component is
AS> + * an instance of {_at_link EditableValueHolder},
AS> + * call its {_at_link EditableValueHolder#resetValue} method.
AS> + * Use {_at_link #visitTree} to do the visiting.</p>
AS> + *
AS> + * @since 2.2
AS> +
AS> + * @param context the {_at_link FacesContext} for the request we are
AS> processing.
AS> + * @param clientIds The client ids to be visited, on which the
AS> described action will be taken.
AS> + */
AS> +
AS> + public void resetValues(FacesContext context, Collection<String>
AS> clientIds)
AS> Is the idea that the client id of every EditableValueHolder to reset
AS> must be explicitly specified in the clientIds collection? If so, this
AS> seems bad.
I'm going to refer you to Cagatay Civici, to whom I delegated the design
of this feature.
Ed