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 Sun, 16 Mar 2008 21:17:34 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

------------------------------------------------------------------------------
  
  /**
   * @mfp.component 
-  *   class = "org.apache.myfaces.component.Component"
+  *   class = "org.apache.myfaces.component.Component" (the default is this class)
-  *   superClass = "org.apache.myfaces.component.ComponentParent"
+  *   superClass = "org.apache.myfaces.component.ComponentParent" (the default is javax.faces.component.UIComponentBase)
-  *   type = "org.apache.myfaces.Component"
+  *   type = "org.apache.myfaces.Component" 
+  *   supertype = "org.apache.myfaces.ComponentParent" (the default is javax.faces.ComponentBase)
+  *   family = "org.apache.myfaces.Component"
-  *   supertype = "org.apache.myfaces.ComponentParent"
+  *   rendererType = "org.apache.myfaces.Component"
-  *   family = "javax.faces.Data"
-  *   defaultRendererType = "javax.faces.Table"
   *   desc="tabular data"
  **/
  public class Component extends ComponentParent {
@@ -105, +105 @@

  }}}
  
   3. Annotated class is a private class that is used as template (never instantiated, just
the code is copied inside the generated class)
+ This pattern can be used for myfaces core. The advantage over a template is that this class
is inside the source code, so code completion
+ and other IDE features are available.
  
  {{{
  
@@ -135, +137 @@

  
  }}}
  
- === Component tag generation ===
+ === Component tag class generation ===
+ 
+ 
  
  === faces-config.xml generation ===
  

Mime
View raw message