You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by de...@apache.org on 2018/05/08 12:48:04 UTC

[myfaces] 04/08: MYFACES-2660 Review Facelets api usage

This is an automated email from the ASF dual-hosted git repository.

deki pushed a commit to branch 2_0_0
in repository https://gitbox.apache.org/repos/asf/myfaces.git

commit 5a47afc4c9d63b9b84e638784e6ad71f876a652f
Author: Leonardo Uribe <lu...@apache.org>
AuthorDate: Wed Apr 14 19:47:05 2010 +0000

    MYFACES-2660 Review Facelets api usage
---
 .../apache/myfaces/view/facelets/tag/jsf/core/AttributeHandler.java | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/AttributeHandler.java b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/AttributeHandler.java
index 2cb89b3..0d09a9e 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/AttributeHandler.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/AttributeHandler.java
@@ -47,6 +47,7 @@ import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFFacelet
         bodyContent = "empty", 
         tagClass="org.apache.myfaces.taglib.core.AttributeTag")
 public final class AttributeHandler extends TagHandler
+    implements javax.faces.view.facelets.AttributeHandler
 {
     private final TagAttribute _name;
 
@@ -92,4 +93,9 @@ public final class AttributeHandler extends TagHandler
             }
         }
     }
+
+    public String getAttributeName(FaceletContext ctx)
+    {
+        return _name.getValue(ctx);
+    }
 }

-- 
To stop receiving notification emails like this one, please contact
deki@apache.org.