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 SimonKitching
Date Tue, 25 Mar 2008 22:05:28 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 SimonKitching:
http://wiki.apache.org/myfaces/MyfacesBuilderPlugin

------------------------------------------------------------------------------
  {{{
    /**
     * Some Foo property.
-    * @mfp.property literalOnly="true"
+    * @JSFProperty literalOnly="true"
     */
    public abstract String getFoo();
  }}}
@@ -37, +37 @@

    /**
     * Some Foo property.
     */
-   @MFP_Property(literalOnly=true)
+   @JSFProperty(literalOnly=true)
    public abstract String getFoo();
  }}}
  
@@ -63, +63 @@

   *
   * More desc of component (goes into tld long desc). And some more desc. Whatever.
   *
-  * @mfp.component 
+  * @JSFComponent 
   *   class = "org.apache.myfaces.component.SomeComponent" (optional; the default is this
class)
   *   superClass = "org.apache.myfaces.component.SomeComponentParent" (optional; default
is parent class)
   *   type = "org.apache.myfaces.Component" 
@@ -82, +82 @@

     * An example of declaring a property using a non-abstract method.
     * Of course, there will normally be a concrete getter method too.
     *
-    * @mfp.property
+    * @JSFProperty
     *   jspName = "foo" (optional; by default derived from method name)
     *   propertyValues = null //FOR ENUMS (optional)
     *   rtexprvalue = "false" //Used on 1.1 only
@@ -104, +104 @@

     * will define the real implementation of this method (and the matching
     * setter).
     *
-    * @mfp.property
+    * @JSFProperty
     *   jspName = "bar" (optional; by default derived from method name)
     *   propertyValues = null //FOR ENUMS (optional)
     *   rtexprvalue = "false" //Used on 1.1 only
@@ -129, +129 @@

     * <li>the inner property is isGetLocalMethodScope and isSetMethodScope
     * </ul>
     *
-    * @mfp.property
+    * @JSFProperty
     *   name = "property" 
     *   fieldName = "baz"
     *   class = "java.lang.String"
@@ -144, +144 @@

  
  
    /**
-    * @mfp.property
+    * @JSFProperty
     *   isSetFieldMethod = "true"; //Create method isSetProperty
     *   defaultValue = "false"
     **/
@@ -163, +163 @@

     * therefore OO usage is completely stuffed. A subclass *must* provide all the features
of the
     * parent type.
     * <p>
-    * Nevertheless, some existing code does this so this feature must be supported. Providing
an
+    * Nevertheless, some existing code does this so this feature must be supported. Providing
a
-    * mfp.property annotation with the exclude attribute causes the .tld etc to NOT define
this
+    * JSFProperty annotation with the exclude attribute causes the .tld etc to NOT define
this
     * particular property, for this class only (child classes of this class get it again).
     *
-    * @mfp.property exclude = "true"
+    * @JSFProperty exclude = "true"
     **/
     public String getBlah() {
       if (this.getClass() == SomeComponent.class) {
@@ -200, +200 @@

     * Yes this is inelegant; it would be nice to find a better way to do this...
     * </p>
     * 
-    * @mfp.property
+    * @JSFProperty
     **/
    public Object getValue() {
      return super.getValue();
@@ -224, +224 @@

  {{{
  
  /**
-  * @mfp.component 
+  * @JSFComponent 
   * //NO class and superClass attributes defined
   *
  **/
@@ -241, +241 @@

  {{{
  
  /**
-  * @mfp.component 
+  * @JSFComponent 
   *   class = "org.apache.myfaces.component.Component"
   *   superClass = "org.apache.myfaces.component.AbstractComponent" //The superclass is the
same class
  **/
@@ -270, +270 @@

  {{{
  
  /**
-  * @mfp.component 
+  * @JSFComponent 
   *   class = "org.apache.myfaces.component.Component"
   *   superClass = "org.apache.myfaces.component.ComponentParent" //The superClass is a different
class
  **/
@@ -303, +303 @@

  {{{
  
  /**
-  * @mfp.component 
+  * @JSFComponent 
   *    tagClass = "org.apache.myfaces.component.ComponentTag" //Required for generation
   *    tagSuperClass = "javax.faces.webapp.UIComponentTag" //default is parent by type tagClass.
   *
@@ -311, +311 @@

  public class Component extends ComponentParent {
  
    /**
-    * @mfp.property
+    * @JSFProperty
     *   tagAttributeExcluded = "true" //no generation on ComponentTag
     *   
    **/
@@ -340, +340 @@

  
  {{{
  /**
-  * @mfp.renderer
+  * @JSFRenderer
   *   renderKitId = "HTML_BASIC"
   *   componentFamily = "org.apache.myfaces.Component"
   *   rendererType = "org.apache.myfaces.Component"

Mime
View raw message