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/08/07 01:14:37 UTC

svn commit: r801837 - in /myfaces/core/trunk/api/src/main/java/javax/faces/component/html: _HtmlBody.java _HtmlHead.java

Author: lu4242
Date: Thu Aug  6 23:14:36 2009
New Revision: 801837

URL: http://svn.apache.org/viewvc?rev=801837&view=rev
Log:
MYFACES-2307 Generate HtmlHead and HtmlBody and MYFACES-2308 @JSFExclude should be annotated on methods and local fields

Modified:
    myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlBody.java
    myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlHead.java

Modified: myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlBody.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlBody.java?rev=801837&r1=801836&r2=801837&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlBody.java (original)
+++ myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlBody.java Thu Aug  6 23:14:36 2009
@@ -19,8 +19,10 @@
 package javax.faces.component.html;
 
 import javax.faces.component.UIOutput;
+import javax.faces.convert.Converter;
 
 import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent;
+import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFExclude;
 import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty;
 
 /**
@@ -51,4 +53,35 @@
   @JSFProperty(clientEvent="unload")
   public abstract String getOnunload();
 
+  @JSFExclude
+  @JSFProperty(tagExcluded=true)
+  @Override
+  public Converter getConverter()
+  {
+    return super.getConverter();
+  }
+
+  @JSFExclude  
+  @JSFProperty(tagExcluded=true)
+  @Override
+  public Object getValue()
+  {
+    return super.getValue();
+  }
+
+  @JSFExclude
+  @JSFProperty(tagExcluded=true)
+  @Override
+  public String getId()
+  {
+    return super.getId();
+  }
+
+  @JSFExclude
+  @JSFProperty(tagExcluded=true)
+  @Override
+  public boolean isRendered()
+  {
+    return super.isRendered();
+  }
 }

Modified: myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlHead.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlHead.java?rev=801837&r1=801836&r2=801837&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlHead.java (original)
+++ myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlHead.java Thu Aug  6 23:14:36 2009
@@ -19,8 +19,10 @@
 package javax.faces.component.html;
 
 import javax.faces.component.UIOutput;
+import javax.faces.convert.Converter;
 
 import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent;
+import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFExclude;
 import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty;
 
 /**
@@ -48,4 +50,36 @@
    */
   @JSFProperty
   public abstract String getLang();
+  
+  @JSFExclude
+  @JSFProperty(tagExcluded=true)
+  @Override
+  public Converter getConverter()
+  {
+    return super.getConverter();
+  }
+
+  @JSFExclude  
+  @JSFProperty(tagExcluded=true)
+  @Override
+  public Object getValue()
+  {
+    return super.getValue();
+  }
+
+  @JSFExclude
+  @JSFProperty(tagExcluded=true)
+  @Override
+  public String getId()
+  {
+    return super.getId();
+  }
+
+  @JSFExclude
+  @JSFProperty(tagExcluded=true)
+  @Override
+  public boolean isRendered()
+  {
+    return super.isRendered();
+  }
 }
\ No newline at end of file