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 03:44:31 UTC
svn commit: r792777 -
/myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlSelectManyCheckbox.java
Author: lu4242
Date: Fri Jul 10 01:44:31 2009
New Revision: 792777
URL: http://svn.apache.org/viewvc?rev=792777&view=rev
Log:
MYFACES-2283 Apply selected/unselected css class to h:selectManyCheckbox
Modified:
myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlSelectManyCheckbox.java
Modified: myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlSelectManyCheckbox.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlSelectManyCheckbox.java?rev=792777&r1=792776&r2=792777&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlSelectManyCheckbox.java (original)
+++ myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlSelectManyCheckbox.java Fri Jul 10 01:44:31 2009
@@ -21,6 +21,7 @@
import javax.faces.component.UISelectMany;
import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent;
+import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty;
/**
* Allow the user to select zero or more items from a set of available options.
@@ -92,5 +93,23 @@
* @JSFProperty
*/
public abstract String getLayout();
+
+ /**
+ * CSS class to be applied to selected items
+ *
+ * @since 2.0
+ * @return
+ */
+ @JSFProperty
+ public abstract String getSelectedClass();
+
+ /**
+ * CSS class to be applied to unselected items
+ *
+ * @since 2.0
+ * @return
+ */
+ @JSFProperty
+ public abstract String getUnselectedClass();
}