You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2013/02/12 13:46:26 UTC

svn commit: r1445144 - in /myfaces/tobago/trunk: src/site/apt/migration-1.6.apt tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/TreeNodeTagDeclaration.java

Author: lofwyr
Date: Tue Feb 12 12:46:26 2013
New Revision: 1445144

URL: http://svn.apache.org/r1445144
Log:
TOBAGO-1212: Using JSR 269: Pluggable Annotation Processing API
 - Test to check the  overwritten methods
 - treeNode has some deprecated attributes

Modified:
    myfaces/tobago/trunk/src/site/apt/migration-1.6.apt
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/TreeNodeTagDeclaration.java

Modified: myfaces/tobago/trunk/src/site/apt/migration-1.6.apt
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/src/site/apt/migration-1.6.apt?rev=1445144&r1=1445143&r2=1445144&view=diff
==============================================================================
--- myfaces/tobago/trunk/src/site/apt/migration-1.6.apt (original)
+++ myfaces/tobago/trunk/src/site/apt/migration-1.6.apt Tue Feb 12 12:46:26 2013
@@ -48,6 +48,10 @@ Tag Library
   The main changes in the tag library are
 
   TODO: What has changed with the tree?
+  The Tree now extends a UIData.
+  The tc:treeData tag should longer used.
+  The tc:treeNode has no longer the attributes: "selected", "expanded", "marked", "treeMarkedListener", "treeExpansionListener"
+
 
   Deprecated facets "resizeAction" and "menupopup" was removed.
 

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/TreeNodeTagDeclaration.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/TreeNodeTagDeclaration.java?rev=1445144&r1=1445143&r2=1445144&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/TreeNodeTagDeclaration.java (original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/TreeNodeTagDeclaration.java Tue Feb 12 12:46:26 2013
@@ -61,7 +61,7 @@ public interface
    */
   @Deprecated
   @TagAttribute()
-  @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
+  @UIComponentTagAttribute(type = "boolean", generate = false, defaultValue = "false")
   void setExpanded(String expanded);
 
   /**
@@ -70,7 +70,7 @@ public interface
    */
   @Deprecated
   @TagAttribute()
-  @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
+  @UIComponentTagAttribute(type = "boolean", generate = false, defaultValue = "false")
   void setMarked(String marked);
 
   /**
@@ -79,7 +79,7 @@ public interface
    */
   @Deprecated
   @TagAttribute()
-  @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
+  @UIComponentTagAttribute(type = "boolean", generate = false, defaultValue = "false")
   void setSelected(String selected);
 
   /**
@@ -87,6 +87,7 @@ public interface
    */
   @TagAttribute
   @UIComponentTagAttribute(type = {},
+      generate = false,
       expression = DynamicExpression.METHOD_BINDING_REQUIRED,
       methodSignature = "org.apache.myfaces.tobago.event.TreeExpansionEvent")
   void setTreeExpansionListener(String treeExpansionListener);
@@ -96,6 +97,7 @@ public interface
    */
   @TagAttribute
   @UIComponentTagAttribute(type = {},
+      generate = false,
       expression = DynamicExpression.METHOD_BINDING_REQUIRED,
       methodSignature = "org.apache.myfaces.tobago.event.TreeMarkedEvent")
   void setTreeMarkedListener(String treeMarkedListener);