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 2008/06/03 04:48:37 UTC
svn commit: r662625 - in
/myfaces/core/trunk/api/src/main/java/javax/faces/component:
UISelectItem.java UISelectItems.java
Author: lu4242
Date: Mon Jun 2 19:48:37 2008
New Revision: 662625
URL: http://svn.apache.org/viewvc?rev=662625&view=rev
Log:
move @JSFJspProperty tagExcluded="true" to alternative way
Modified:
myfaces/core/trunk/api/src/main/java/javax/faces/component/UISelectItem.java
myfaces/core/trunk/api/src/main/java/javax/faces/component/UISelectItems.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=662625&r1=662624&r2=662625&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 Mon Jun 2 19:48:37 2008
@@ -39,7 +39,6 @@
* bodyContent = "empty"
* tagClass = "org.apache.myfaces.taglib.core.SelectItemTag"
* desc = "UISelectItem"
- * @JSFJspProperty name = "rendered" returnType = "boolean" tagExcluded = "true"
*
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
@@ -67,6 +66,18 @@
{
return COMPONENT_FAMILY;
}
+
+ /**
+ * Disable this property; although this class extends a base-class that
+ * defines a read/write rendered property, this particular subclass
+ * does not support setting it. Yes, this is broken OO design: direct
+ * all complaints to the JSF spec group.
+ *
+ * @JSFProperty tagExcluded="true"
+ */
+ public void setRendered(boolean state) {
+ throw new UnsupportedOperationException();
+ }
public void setItemDescription(String itemDescription)
{
Modified: myfaces/core/trunk/api/src/main/java/javax/faces/component/UISelectItems.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/java/javax/faces/component/UISelectItems.java?rev=662625&r1=662624&r2=662625&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/java/javax/faces/component/UISelectItems.java (original)
+++ myfaces/core/trunk/api/src/main/java/javax/faces/component/UISelectItems.java Mon Jun 2 19:48:37 2008
@@ -36,7 +36,6 @@
* bodyContent = "empty"
* tagClass = "org.apache.myfaces.taglib.core.SelectItemsTag"
* desc = "UISelectItems"
- * @JSFJspProperty name = "rendered" returnType = "boolean" tagExcluded = "true"
*
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
@@ -59,6 +58,18 @@
{
return COMPONENT_FAMILY;
}
+
+ /**
+ * Disable this property; although this class extends a base-class that
+ * defines a read/write rendered property, this particular subclass
+ * does not support setting it. Yes, this is broken OO design: direct
+ * all complaints to the JSF spec group.
+ *
+ * @JSFProperty tagExcluded="true"
+ */
+ public void setRendered(boolean state) {
+ throw new UnsupportedOperationException();
+ }
public void setValue(Object value)
{