myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r940746 - in /myfaces/core/trunk: api/src/main/java/javax/faces/view/facelets/ impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/
Date Tue, 04 May 2010 06:43:22 GMT
Author: lu4242
Date: Tue May  4 06:43:21 2010
New Revision: 940746

URL: http://svn.apache.org/viewvc?rev=940746&view=rev
Log:
add "for" attribute (propagate to all instances of FaceletsAttachedObjectHandler)

Modified:
    myfaces/core/trunk/api/src/main/java/javax/faces/view/facelets/BehaviorHandler.java
    myfaces/core/trunk/api/src/main/java/javax/faces/view/facelets/ConverterHandler.java
    myfaces/core/trunk/api/src/main/java/javax/faces/view/facelets/FaceletsAttachedObjectHandler.java
    myfaces/core/trunk/api/src/main/java/javax/faces/view/facelets/ValidatorHandler.java
    myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/ConvertDateTimeHandler.java
    myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/ConvertDelegateHandler.java
    myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/ConvertNumberHandler.java
    myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/ValidateDelegateHandler.java

Modified: myfaces/core/trunk/api/src/main/java/javax/faces/view/facelets/BehaviorHandler.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/java/javax/faces/view/facelets/BehaviorHandler.java?rev=940746&r1=940745&r2=940746&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/java/javax/faces/view/facelets/BehaviorHandler.java (original)
+++ myfaces/core/trunk/api/src/main/java/javax/faces/view/facelets/BehaviorHandler.java Tue
May  4 06:43:21 2010
@@ -20,12 +20,15 @@ package javax.faces.view.facelets;
 
 import javax.faces.view.BehaviorHolderAttachedObjectHandler;
 
+import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFFaceletTag;
+
 /**
  * @author Simon Lessard (latest modification by $Author: slessard $)
  * @version $Revision: 696523 $ $Date: 2009-03-15 17:28:58 -0400 (mer., 17 sept. 2008) $
  *
  * @since 2.0
  */
+@JSFFaceletTag
 public class BehaviorHandler extends FaceletsAttachedObjectHandler implements BehaviorHolderAttachedObjectHandler
 {
     private String behaviorId;

Modified: myfaces/core/trunk/api/src/main/java/javax/faces/view/facelets/ConverterHandler.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/java/javax/faces/view/facelets/ConverterHandler.java?rev=940746&r1=940745&r2=940746&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/java/javax/faces/view/facelets/ConverterHandler.java (original)
+++ myfaces/core/trunk/api/src/main/java/javax/faces/view/facelets/ConverterHandler.java Tue
May  4 06:43:21 2010
@@ -20,6 +20,8 @@ package javax.faces.view.facelets;
 
 import javax.faces.view.ValueHolderAttachedObjectHandler;
 
+import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFFaceletTag;
+
 /**
  * Handles setting a Converter instance on a ValueHolder. Will wire all attributes set to
the Converter instance
  * created/fetched. Uses the "binding" attribute for grabbing instances to apply attributes
to. <p/> Will only
@@ -32,6 +34,7 @@ import javax.faces.view.ValueHolderAttac
  * @author Jacob Hookom
  * @version $Id: ConvertHandler.java,v 1.4 2008/07/13 19:01:46 rlubke Exp $
  */
+@JSFFaceletTag
 public class ConverterHandler extends FaceletsAttachedObjectHandler implements ValueHolderAttachedObjectHandler
 {
     private String converterId;

Modified: myfaces/core/trunk/api/src/main/java/javax/faces/view/facelets/FaceletsAttachedObjectHandler.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/java/javax/faces/view/facelets/FaceletsAttachedObjectHandler.java?rev=940746&r1=940745&r2=940746&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/java/javax/faces/view/facelets/FaceletsAttachedObjectHandler.java
(original)
+++ myfaces/core/trunk/api/src/main/java/javax/faces/view/facelets/FaceletsAttachedObjectHandler.java
Tue May  4 06:43:21 2010
@@ -22,12 +22,16 @@ import javax.faces.component.UIComponent
 import javax.faces.context.FacesContext;
 import javax.faces.view.AttachedObjectHandler;
 
+import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFFaceletAttribute;
+import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFFaceletTag;
+
 /**
  * @author Simon Lessard (latest modification by $Author: slessard $)
  * @version $Revision: 696523 $ $Date: 2009-03-15 17:17:48 -0400 (mer., 17 sept. 2008) $
  * 
  * @since 2.0
  */
+@JSFFaceletTag
 public abstract class FaceletsAttachedObjectHandler extends DelegatingMetaTagHandler implements
AttachedObjectHandler
 {
     /**
@@ -62,6 +66,7 @@ public abstract class FaceletsAttachedOb
     /**
      * {@inheritDoc}
      */
+    @JSFFaceletAttribute
     public final String getFor()
     {
         //Just redirect to delegate handler

Modified: myfaces/core/trunk/api/src/main/java/javax/faces/view/facelets/ValidatorHandler.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/java/javax/faces/view/facelets/ValidatorHandler.java?rev=940746&r1=940745&r2=940746&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/java/javax/faces/view/facelets/ValidatorHandler.java (original)
+++ myfaces/core/trunk/api/src/main/java/javax/faces/view/facelets/ValidatorHandler.java Tue
May  4 06:43:21 2010
@@ -21,6 +21,8 @@ package javax.faces.view.facelets;
 import javax.faces.view.EditableValueHolderAttachedObjectHandler;
 import javax.faces.view.facelets.FaceletContext;
 
+import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFFaceletTag;
+
 /**
  * Handles setting a Validator instance on a EditableValueHolder. Will wire all attributes
set to the Validator instance
  * created/fetched. Uses the "binding" attribute for grabbing instances to apply attributes
to. <p/> Will only
@@ -30,6 +32,7 @@ import javax.faces.view.facelets.Facelet
  * @author Jacob Hookom
  * @version $Id: ValidateHandler.java,v 1.4 2008/07/13 19:01:46 rlubke Exp $
  */
+@JSFFaceletTag
 public class ValidatorHandler extends FaceletsAttachedObjectHandler implements EditableValueHolderAttachedObjectHandler
 {
     private ValidatorConfig config;

Modified: myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/ConvertDateTimeHandler.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/ConvertDateTimeHandler.java?rev=940746&r1=940745&r2=940746&view=diff
==============================================================================
--- myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/ConvertDateTimeHandler.java
(original)
+++ myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/ConvertDateTimeHandler.java
Tue May  4 06:43:21 2010
@@ -49,7 +49,6 @@ import org.apache.myfaces.view.facelets.
         name = "f:convertDateTime",
         bodyContent = "empty", 
         converterClass="javax.faces.convert.DateTimeConverter")
-@JSFFaceletAttribute(name="for",desc="no description",longDescription="no description")
 public final class ConvertDateTimeHandler extends ConverterHandler
 {
 

Modified: myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/ConvertDelegateHandler.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/ConvertDelegateHandler.java?rev=940746&r1=940745&r2=940746&view=diff
==============================================================================
--- myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/ConvertDelegateHandler.java
(original)
+++ myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/ConvertDelegateHandler.java
Tue May  4 06:43:21 2010
@@ -43,7 +43,6 @@ import org.apache.myfaces.buildtools.mav
         name = "f:converter",
         bodyContent = "empty", 
         tagClass="org.apache.myfaces.taglib.core.ConverterImplTag")
-@JSFFaceletAttribute(name="for",desc="no description",longDescription="no description")
 public final class ConvertDelegateHandler extends ConverterHandler
 {
 

Modified: myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/ConvertNumberHandler.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/ConvertNumberHandler.java?rev=940746&r1=940745&r2=940746&view=diff
==============================================================================
--- myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/ConvertNumberHandler.java
(original)
+++ myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/ConvertNumberHandler.java
Tue May  4 06:43:21 2010
@@ -45,7 +45,6 @@ import org.apache.myfaces.view.facelets.
         name = "f:convertNumber",
         bodyContent = "empty", 
         converterClass="javax.faces.convert.NumberConverter")
-@JSFFaceletAttribute(name="for",desc="no description",longDescription="no description")
 public final class ConvertNumberHandler extends ConverterHandler
 {
 

Modified: myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/ValidateDelegateHandler.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/ValidateDelegateHandler.java?rev=940746&r1=940745&r2=940746&view=diff
==============================================================================
--- myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/ValidateDelegateHandler.java
(original)
+++ myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/ValidateDelegateHandler.java
Tue May  4 06:43:21 2010
@@ -41,7 +41,6 @@ import org.apache.myfaces.buildtools.mav
         name = "f:validator",
         bodyContent = "empty", 
         tagClass="org.apache.myfaces.taglib.core.ValidatorImplTag")
-@JSFFaceletAttribute(name="for",desc="no description",longDescription="no description")
 public final class ValidateDelegateHandler extends ValidatorHandler
 {
 



Mime
View raw message