jsr344-experts@javaserverfaces-spec-public.java.net

[jsr344-experts] Re: UIOutput API review

From: Manfred Riem <manfred.riem_at_oracle.com>
Date: Fri, 15 Mar 2013 23:17:04 -0500

Hi Ed,

This is related to the resetValues issue that Cagatay Civici designed.
JavaServerFaces Issue #2703 does not have anything to do with this.

Manfred

On 3/15/2013 10:05 PM, Edward Burns wrote:
>>>>>> On Wed, 13 Mar 2013 14:54:42 -0400, Andy Schwartz <andy.schwartz_at_oracle.com> said:
> AS> One comment on UIOutput:
> AS> Index: javax/faces/component/UIOutput.java
> AS> ===================================================================
> AS> --- javax/faces/component/UIOutput.java (revision 8845)
> AS> +++ javax/faces/component/UIOutput.java (revision 11719)
>
> AS> + /**
> AS> + * <p class="changed_added_2_2">Convenience method to reset this
> AS> component's value to the
> AS> + * un-initialized state.</p>
> AS> + *
> AS> + * @since 2.2
> AS> + */
> AS> +
> AS> + public void resetValue() {
>
> AS> I am confused by why we expose a public resetValue() convenience method
> AS> on UIOutput. The "reset" functionality is the domain of
> AS> EditableValueHolder/UIInput, not UIOutput.
>
> This was added to fix
> <http://java.net/jira/browse/JAVASERVERFACES-2703>. Manfred, can you
> please explain this for Andy?
>
> Thanks,
>
> Ed
>