myfaces-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=811123&view=rev
Log:
MYFACES-2183 Integrate Facelets

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

Modified: myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/ComponentTagHandlerDelegate.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/ComponentTagHandlerDelegate.java?rev=811123&r1=811122&r2=811123&view=diff
==============================================================================
--- myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/ComponentTagHandlerDelegate.java
(original)
+++ myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/ComponentTagHandlerDelegate.java
Thu Sep  3 21:08:22 2009
@@ -42,6 +42,7 @@
 
 import org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage;
 import org.apache.myfaces.view.facelets.tag.MetaRulesetImpl;
+import org.apache.myfaces.view.facelets.tag.jsf.core.FacetHandler;
 
 /**
  *  
@@ -220,9 +221,7 @@
      */
     protected final String getFacetName(FaceletContext ctx, UIComponent parent)
     {
-        // TODO: REFACTOR - "facelets.FACET_NAME" should be a constant somewhere, used to
be in FacetHandler
-        //                  from real Facelets
-        return (String) parent.getAttributes().get("facelets.FACET_NAME");
+        return (String) parent.getAttributes().get(FacetHandler.KEY);
     }
 
     /**



Mime
View raw message