You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2009/06/23 05:44:11 UTC

svn commit: r787527 - /myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/component/UIViewParameter.java

Author: lu4242
Date: Tue Jun 23 03:44:10 2009
New Revision: 787527

URL: http://svn.apache.org/viewvc?rev=787527&view=rev
Log:
add @JSFComponent, so tag generation is triggered on myfaces-impl, and data is added on myfaces-metadata.xml

Modified:
    myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/component/UIViewParameter.java

Modified: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/component/UIViewParameter.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/component/UIViewParameter.java?rev=787527&r1=787526&r2=787527&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/component/UIViewParameter.java (original)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/component/UIViewParameter.java Tue Jun 23 03:44:10 2009
@@ -30,14 +30,21 @@
 import javax.faces.render.RenderKitFactory;
 import javax.faces.render.Renderer;
 
+import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent;
+
 /**
- * TODO: PLUGINIZE?
+ * 
+ * TODO: documentation on jsp and pld are not the same. It appear two
+ * params: maxlength and for, but no property getter and setter founded here. 
+ * If maxlength is used, we can put something like this: 
+ * JSFJspProperty(name = "maxlength", returnType = "java.lang.String")
  * 
  * @author Simon Lessard (latest modification by $Author: slessard $)
  * @version $Revision: 696523 $ $Date: 2009-03-14 14:43:57 -0400 (mer., 17 sept. 2008) $
  * 
  * @since 2.0
  */
+@JSFComponent(name = "f:viewParam", bodyContent = "JSP", tagClass = "org.apache.myfaces.taglib.core.ViewParamTag")
 public class UIViewParameter extends UIInput
 {
     public static final String COMPONENT_FAMILY = "javax.faces.ViewParameter";