You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2009/07/10 02:35:49 UTC
svn commit: r792766 -
/myfaces/core/trunk/api/src/main/java/javax/faces/component/_UISelectItem.java
Author: lu4242
Date: Fri Jul 10 00:35:49 2009
New Revision: 792766
URL: http://svn.apache.org/viewvc?rev=792766&view=rev
Log:
MYFACES-2277 UISelectItem.isNoSelectionOption (deal with it on UISelectOne.validateValue and UISelectMany.validateValue)
Modified:
myfaces/core/trunk/api/src/main/java/javax/faces/component/_UISelectItem.java
Modified: myfaces/core/trunk/api/src/main/java/javax/faces/component/_UISelectItem.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/java/javax/faces/component/_UISelectItem.java?rev=792766&r1=792765&r2=792766&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/java/javax/faces/component/_UISelectItem.java (original)
+++ myfaces/core/trunk/api/src/main/java/javax/faces/component/_UISelectItem.java Fri Jul 10 00:35:49 2009
@@ -103,4 +103,14 @@
@JSFProperty
public abstract Object getItemValue();
+ /**
+ * Indicate this component represent no selection option.
+ * Default value is false.
+ *
+ * @since 2.0
+ * @return is the component represent no select option
+ */
+ @JSFProperty
+ (defaultValue="false")
+ public abstract boolean isNoSelectionOption();
}