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

[jsr344-experts] UIOutput API review

From: Andy Schwartz <andy.schwartz_at_oracle.com>
Date: Wed, 13 Mar 2013 14:54:42 -0400

One comment on UIOutput:

Index: javax/faces/component/UIOutput.java
===================================================================
--- javax/faces/component/UIOutput.java (revision 8845)
+++ javax/faces/component/UIOutput.java (revision 11719)

+ /**
+ * <p class="changed_added_2_2">Convenience method to reset this
component's value to the
+ * un-initialized state.</p>
+ *
+ * @since 2.2
+ */
+
+ public void resetValue() {

I am confused by why we expose a public resetValue() convenience method
on UIOutput. The "reset" functionality is the domain of
EditableValueHolder/UIInput, not UIOutput.

Andy