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

[jsr344-experts] Re: UIOutput API review

From: Edward Burns <edward.burns_at_oracle.com>
Date: Fri, 15 Mar 2013 20:05:05 -0700

>>>>> 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

--