myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r811124 - /myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/FacetHandler.java
Date Thu, 03 Sep 2009 21:10:22 GMT
Author: lu4242
Date: Thu Sep  3 21:10:21 2009
New Revision: 811124

URL: http://svn.apache.org/viewvc?rev=811124&view=rev
Log:
MYFACES-2183 Integrate Facelets (core.FacetHandler should implement javax.faces.view.facelets.FacetHandler)

Modified:
    myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/FacetHandler.java

Modified: myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/FacetHandler.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/FacetHandler.java?rev=811124&r1=811123&r2=811124&view=diff
==============================================================================
--- myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/FacetHandler.java
(original)
+++ myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/FacetHandler.java
Thu Sep  3 21:10:21 2009
@@ -43,7 +43,8 @@
         name = "f:facet",
         bodyContent = "JSP", 
         tagClass="javax.faces.webapp.FacetTag")
-public final class FacetHandler extends TagHandler
+public final class FacetHandler extends TagHandler 
+    implements javax.faces.view.facelets.FacetHandler
 {
 
     public static final String KEY = "facelets.FACET_NAME";
@@ -78,4 +79,10 @@
             parent.getAttributes().remove(KEY);
         }
     }
+
+    @Override
+    public String getFacetName(FaceletContext ctx)
+    {
+        return this.name.getValue(ctx);
+    }
 }



Mime
View raw message