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 Wed, 19 Mar 2008 04:07:00 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 abstract String getBar();
  
    /**
-    * Don't know what this is demonstrating...Leonardo?
+    * In some very special cases, it is necessary to know when a value of a component is

+    * set on the component class or is retrieved from a ValueBinding/ValueExpression,
+    * so proper body methods should be generated, since inner fields are defined with
+    * private scope.
     * 
     * Notes:
     * <ul>
@@ -112, +115 @@

     *   fieldName = "baz"
     *   class = "java.lang.String"
     *   isSetFieldMethod = "false" //Create method isSetProperty
-    *   isGetLocalMethod = "false" //Create method getLocalProperty or isLocalProperty
+    *   isGetLocalMethod = "true" //Create method getLocalProperty or isLocalProperty
     *   stateHolder = "false"
     *   defaultValue = ""
     **/
     public abstract String getBaz();
+ 
+    public abstract String getLocalBaz(); //Do not evaluate ValueBinding/ValueExpression
+ 
+ 
+   /**
+    * @mfp.property
+    *   isSetFieldMethod = "true"; //Create method isSetProperty
+    *   defaultValue = "false"
+    **/
+    public abstract boolean isBuu(); //If is not defined return false
+ 
+    public abstract boolean isSetBuu(); //If is not set a value returns false, otherwise
true
  
    /**
     * Disable the getBlah property (just for instances of this type).

Mime
View raw message