myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Myfaces Wiki] Update of "MyfacesBuilderPlugin" by LeonardoUribe
Date Mon, 17 Mar 2008 01:23:02 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by LeonardoUribe:
http://wiki.apache.org/myfaces/MyfacesBuilderPlugin

------------------------------------------------------------------------------
  public class Component extends ComponentParent {
  
  
+   /**
+    * @mfp.property
+    *   jspName = "property"
+    *   isEnum = "false" //FOR ENUMS
+    *   propertyValues = null //FOR ENUMS
+    *   rtexprvalue = "false" //Used on 1.1 only
+    *   tagAttributeExcluded = "true"
+    *   literalOnly = "false"
+    *   required = "false" //Used on tld only
+    *   transient = "false"
+    *   
+   **/
+    public void setProperty(String property){
+      _property = property;
+    }
+ 
+ 
+   /** //Only used where there is generated class, so generated properties
+    * @mfp.property
+    *   name = "property" 
+    *   fieldName = "property"
+    *   class = "java.lang.String"
+    *   isSetFieldMethod = "false" //Create method isSetProperty
+    *   isGetLocalMethod = "false" //Create method getLocalProperty or isLocalProperty
+    *   stateHolder = "false"
+    *
+    *   //The scope of isSetProperty, getLocalProperty and isLocalProperty is the scope of
the abstract method that requires
+    *   //the inner property is isGetLocalMethodScope and isSetMethodScope
+    **/
+ 
+   /** //Sometimes this should be used for exclude one unwanted inherited property from the
tld.
+    *  //The exclusion only works for the class where is defined.
+    * @mfp.property
+    *   name = "parentProperty1"
+    *   exclude = "true"
+    **/
+ 
+   /** //Sometimes this should be used for override documentation
+    * <p>
+    * This property is used here for ..... 
+    * </p>
+    * 
+    * @mfp.property
+    *   name = "parentProperty2"
+    *   desc = "This property is used here for ..... "
+    **/
+ 
  }
  
  }}}
@@ -195, +242 @@

  
  === .tld generation ===
  
+ The equation for tld is this:
+ 
+ .tld = src/main/conf/META-INF/customtld-base.tld" + "info form component annotations"
+ 
  For each component, the tld contains:
  
   * Description about this component

Mime
View raw message