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:00 UTC

[myfaces] branch 2_0_0 created (now be8edec)

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

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


      at be8edec  exclude myfaces-core-assembly file

This branch includes the following new commits:

     new ee80017  [maven-release-plugin]  copy for tag 2_0_0
     new ff376f1  update version to 2.0.0
     new 8c0dfdf  merge revisions 933978-934048 MYFACES-2658, MYFACES-2659
     new 5a47afc  MYFACES-2660 Review Facelets api usage
     new 868ef0b  MYFACES-2658 Indicate a better error when using Facelet TAGs on JSP(X) pages (change to FacesException)
     new 016a2c6  MYFACES-2658 Indicate a better error when using Facelet TAGs on JSP(X) pages (reverted Leonardo's change to FacesException - see the issue in JIRA for details)
     new 94825c5  MYFACES-2661 h:link render conversationContext param multiple times
     new be8edec  exclude myfaces-core-assembly file

The 8 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


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

[myfaces] 01/08: [maven-release-plugin] copy for tag 2_0_0

Posted by de...@apache.org.
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 ee80017b7f78edb66d16c499d8ca22c221dab0dd
Merge: c2d6b6e 44b5dc1 a25ae66 13af18e
Author: Leonardo Uribe <lu...@apache.org>
AuthorDate: Wed Apr 14 02:10:15 2010 +0000

    [maven-release-plugin]  copy for tag 2_0_0

 api/pom.xml                                        |  29 +-
 .../META-INF/resources/javax.faces/jsf.js          | 445 +++++++++++++++++++++
 impl/pom.xml                                       |  18 +-
 implee6/pom.xml                                    |  10 +-
 pom.xml                                            |   8 +-
 5 files changed, 479 insertions(+), 31 deletions(-)

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

[myfaces] 07/08: MYFACES-2661 h:link render conversationContext param multiple times

Posted by de...@apache.org.
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 94825c503baffce9c0cc50365e4a2d1fff06c8cf
Author: Leonardo Uribe <lu...@apache.org>
AuthorDate: Fri Apr 16 01:57:36 2010 +0000

    MYFACES-2661 h:link render conversationContext param multiple times
---
 .../apache/myfaces/context/servlet/ServletExternalContextImpl.java | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/impl/src/main/java/org/apache/myfaces/context/servlet/ServletExternalContextImpl.java b/impl/src/main/java/org/apache/myfaces/context/servlet/ServletExternalContextImpl.java
index 6acde6e..ba4a6c1 100755
--- a/impl/src/main/java/org/apache/myfaces/context/servlet/ServletExternalContextImpl.java
+++ b/impl/src/main/java/org/apache/myfaces/context/servlet/ServletExternalContextImpl.java
@@ -390,7 +390,7 @@ public final class ServletExternalContextImpl extends ExternalContext implements
     @Override
     public String encodeBookmarkableURL(String baseUrl, Map<String,List<String>> parameters)
     {
-        return _httpServletResponse.encodeURL(encodeURL(baseUrl, parameters));
+        return encodeURL(baseUrl, parameters);
     }
 
     @Override
@@ -410,8 +410,9 @@ public final class ServletExternalContextImpl extends ExternalContext implements
     @Override
     public String encodePartialActionURL(String url)
     {
-        // TODO: IMPLEMENT HERE
-        return null;
+        checkNull(url, "url");
+        checkHttpServletRequest();
+        return ((HttpServletResponse) _servletResponse).encodeURL(url);
     }
 
     @Override

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

[myfaces] 03/08: merge revisions 933978-934048 MYFACES-2658, MYFACES-2659

Posted by de...@apache.org.
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 8c0dfdfaeaa882a0663b020f2f0142e0322a5fd7
Merge: ff376f1 9f6f90d
Author: Leonardo Uribe <lu...@apache.org>
AuthorDate: Wed Apr 14 19:17:14 2010 +0000

    merge revisions 933978-934048 MYFACES-2658, MYFACES-2659

 .../facelets/FaceletViewDeclarationLanguage.java   |   4 +-
 .../myfaces/view/facelets/FaceletViewHandler.java  |   4 +-
 .../view/facelets/compiler/CompilationManager.java |   4 +-
 .../myfaces/view/facelets/compiler/Compiler.java   |   4 +-
 .../view/facelets/tag/CompositeTagDecorator.java   |   3 +-
 .../view/facelets/tag/jsf/html/HtmlDecorator.java  |   2 +-
 .../FaceletsOnlyException.java}                    |  81 +++--
 .../view/jsp/JspViewDeclarationLanguage.java       | 361 +++++++++++++--------
 8 files changed, 273 insertions(+), 190 deletions(-)

diff --cc impl/src/main/java/org/apache/myfaces/view/jsp/JspViewDeclarationLanguage.java
index bda9a6a,9710d49..918e002
--- a/impl/src/main/java/org/apache/myfaces/view/jsp/JspViewDeclarationLanguage.java
+++ b/impl/src/main/java/org/apache/myfaces/view/jsp/JspViewDeclarationLanguage.java
@@@ -1,139 -1,222 +1,222 @@@
- /*
-  * Licensed to the Apache Software Foundation (ASF) under one
-  * or more contributor license agreements.  See the NOTICE file
-  * distributed with this work for additional information
-  * regarding copyright ownership.  The ASF licenses this file
-  * to you under the Apache License, Version 2.0 (the
-  * "License"); you may not use this file except in compliance
-  * with the License.  You may obtain a copy of the License at
-  *
-  *   http://www.apache.org/licenses/LICENSE-2.0
-  *
-  * Unless required by applicable law or agreed to in writing,
-  * software distributed under the License is distributed on an
-  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  * KIND, either express or implied.  See the License for the
-  * specific language governing permissions and limitations
-  * under the License.
-  */
- package org.apache.myfaces.view.jsp;
- 
- import java.io.IOException;
- import java.util.Locale;
- import java.util.logging.Level;
- import java.util.logging.Logger;
- 
- import javax.faces.FacesException;
- import javax.faces.component.UIViewRoot;
- import javax.faces.context.ExternalContext;
- import javax.faces.context.FacesContext;
- import javax.servlet.ServletRequest;
- import javax.servlet.ServletResponse;
- import javax.servlet.http.HttpServletResponse;
- import javax.servlet.jsp.jstl.core.Config;
- 
- import org.apache.myfaces.application.jsp.ServletViewResponseWrapper;
- import org.apache.myfaces.context.servlet.ResponseSwitch;
- import org.apache.myfaces.shared_impl.view.JspViewDeclarationLanguageBase;
- import org.apache.myfaces.util.ExternalContextUtils;
- 
- /**
-  * @author Simon Lessard (latest modification by $Author: slessard $)
-  * @version $Revision: 696523 $ $Date: 2009-03-22 13:55:12 -0400 (mer., 17 sept. 2008) $
-  * 
-  * @since 2.0
-  */
- public class JspViewDeclarationLanguage extends JspViewDeclarationLanguageBase
- {
-     //private static final Log log = LogFactory.getLog(JspViewDeclarationLanguage.class);
-     public static final Logger log = Logger.getLogger(JspViewDeclarationLanguage.class.getName());
-     /**
-      * 
-      */
-     public JspViewDeclarationLanguage()
-     {
-         if (log.isLoggable(Level.FINEST))
-             log.finest("New JspViewDeclarationLanguage instance created");
-     }
- 
-     /**
-      * {@inheritDoc}
-      */
-     @Override
-     public void buildView(FacesContext context, UIViewRoot view) throws IOException
-     {
-         ExternalContext externalContext = context.getExternalContext();
- 
-         if (context.getPartialViewContext().isPartialRequest())
-         {
-             // try to get (or create) a ResponseSwitch and turn off the output
-             Object origResponse = context.getExternalContext().getResponse();
-             ResponseSwitch responseSwitch = ExternalContextUtils.getResponseSwitch(origResponse);
-             if (responseSwitch == null)
-             {
-                 // no ResponseSwitch installed yet - create one 
-                 responseSwitch = ExternalContextUtils.createResponseSwitch(origResponse);
-                 if (responseSwitch != null)
-                 {
-                     // install the ResponseSwitch
-                     context.getExternalContext().setResponse(responseSwitch);
-                 }
-             }
-             if (responseSwitch != null)
-             {
-                 responseSwitch.setEnabled(context, false);
-             }
-         }
-         
-         ServletResponse response = (ServletResponse) externalContext.getResponse();
-         ServletRequest request = (ServletRequest) externalContext.getRequest();
-         
-         Locale locale = view.getLocale();
-         response.setLocale(locale);
-         Config.set(request, Config.FMT_LOCALE, context.getViewRoot().getLocale());
- 
-         String viewId = view.getViewId();
-         ServletViewResponseWrapper wrappedResponse = new ServletViewResponseWrapper((HttpServletResponse) response);
- 
-         externalContext.setResponse(wrappedResponse);
-         try
-         {
-             externalContext.dispatch(viewId);
-         }
-         finally
-         {
-             externalContext.setResponse(response);
-         }
- 
-         boolean errorResponse = wrappedResponse.getStatus() < 200 || wrappedResponse.getStatus() > 299;
-         if (errorResponse)
-         {
-             wrappedResponse.flushToWrappedResponse();
-             return;
-         }
- 
-         //Skip this step if we are rendering an ajax request, because no content outside
-         //f:view tag should be output.
-         if (!context.getPartialViewContext().isPartialRequest())
-         {
-             // store the wrapped response in the request, so it is thread-safe
-             setAfterViewTagResponseWrapper(externalContext, wrappedResponse);
-         }
-     }
- 
-     @Override
-     protected void sendSourceNotFound(FacesContext context, String message)
-     {
-         HttpServletResponse response = (HttpServletResponse) context.getExternalContext().getResponse();
-         try
-         {
-             context.responseComplete();
-             response.sendError(HttpServletResponse.SC_NOT_FOUND, message);
-         }
-         catch (IOException ioe)
-         {
-             throw new FacesException(ioe);
-         }
-     }
- 
- }
+ /*
+  * Licensed to the Apache Software Foundation (ASF) under one
+  * or more contributor license agreements.  See the NOTICE file
+  * distributed with this work for additional information
+  * regarding copyright ownership.  The ASF licenses this file
+  * to you under the Apache License, Version 2.0 (the
+  * "License"); you may not use this file except in compliance
+  * with the License.  You may obtain a copy of the License at
+  *
+  *   http://www.apache.org/licenses/LICENSE-2.0
+  *
+  * Unless required by applicable law or agreed to in writing,
+  * software distributed under the License is distributed on an
+  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  * KIND, either express or implied.  See the License for the
+  * specific language governing permissions and limitations
+  * under the License.
+  */
+ package org.apache.myfaces.view.jsp;
+ 
+ import java.io.IOException;
+ import java.util.Locale;
+ import java.util.logging.Level;
+ import java.util.logging.Logger;
+ 
+ import javax.faces.FacesException;
+ import javax.faces.component.UIViewRoot;
+ import javax.faces.context.ExternalContext;
+ import javax.faces.context.FacesContext;
+ import javax.servlet.ServletRequest;
+ import javax.servlet.ServletResponse;
+ import javax.servlet.http.HttpServletResponse;
+ import javax.servlet.jsp.jstl.core.Config;
+ 
+ import org.apache.myfaces.application.jsp.ServletViewResponseWrapper;
+ import org.apache.myfaces.context.servlet.ResponseSwitch;
+ import org.apache.myfaces.shared_impl.view.JspViewDeclarationLanguageBase;
+ import org.apache.myfaces.util.ExternalContextUtils;
+ import org.apache.myfaces.view.facelets.tag.composite.CompositeLibrary;
+ import org.apache.myfaces.view.facelets.tag.jsf.core.CoreLibrary;
+ import org.apache.myfaces.view.facelets.tag.jsf.html.HtmlLibrary;
+ import org.apache.myfaces.view.facelets.tag.ui.UILibrary;
+ 
+ /**
+  * @author Simon Lessard (latest modification by $Author$)
+  * @version $Revision$ $Date$
+  * 
+  * @since 2.0
+  */
+ public class JspViewDeclarationLanguage extends JspViewDeclarationLanguageBase
+ {
+     //private static final Log log = LogFactory.getLog(JspViewDeclarationLanguage.class);
+     public static final Logger log = Logger.getLogger(JspViewDeclarationLanguage.class.getName());
+     
+     /**
+      * Tags that are only available on facelets and not on JSP.
+      * If a user uses one of these tags on a JSP, we will provide
+      * a more informative error message than the standard one.
+      */
+     public static final String[] FACELETS_ONLY_F_TAGS = {"ajax", "event", "metadata"};
+     public static final String[] FACELETS_ONLY_H_TAGS = {"outputScript", "outputStylesheet",
+                                                          "head", "body", "button", "link"};
+     
+     /**
+      * 
+      */
+     public JspViewDeclarationLanguage()
+     {
+         if (log.isLoggable(Level.FINEST))
+             log.finest("New JspViewDeclarationLanguage instance created");
+     }
+ 
+     /**
+      * {@inheritDoc}
+      */
+     @Override
+     public void buildView(FacesContext context, UIViewRoot view) throws IOException
+     {
+         ExternalContext externalContext = context.getExternalContext();
+ 
+         if (context.getPartialViewContext().isPartialRequest())
+         {
+             // try to get (or create) a ResponseSwitch and turn off the output
+             Object origResponse = context.getExternalContext().getResponse();
+             ResponseSwitch responseSwitch = ExternalContextUtils.getResponseSwitch(origResponse);
+             if (responseSwitch == null)
+             {
+                 // no ResponseSwitch installed yet - create one 
+                 responseSwitch = ExternalContextUtils.createResponseSwitch(origResponse);
+                 if (responseSwitch != null)
+                 {
+                     // install the ResponseSwitch
+                     context.getExternalContext().setResponse(responseSwitch);
+                 }
+             }
+             if (responseSwitch != null)
+             {
+                 responseSwitch.setEnabled(context, false);
+             }
+         }
+         
+         ServletResponse response = (ServletResponse) externalContext.getResponse();
+         ServletRequest request = (ServletRequest) externalContext.getRequest();
+         
+         Locale locale = view.getLocale();
+         response.setLocale(locale);
+         Config.set(request, Config.FMT_LOCALE, context.getViewRoot().getLocale());
+ 
+         String viewId = view.getViewId();
+         ServletViewResponseWrapper wrappedResponse = new ServletViewResponseWrapper((HttpServletResponse) response);
+ 
+         externalContext.setResponse(wrappedResponse);
+         try
+         {
+             externalContext.dispatch(viewId);
+         }
+         catch (FacesException e)
+         {
+             // try to extract the most likely exceptions here
+             // and provide a better error message for them
+             
+             String message = e.getMessage(); 
+             
+             // errors related to using facelets-only tags on a JSP page
+             if (message != null)
+             {
+                 // does the message contain "f" (prefix f of tags)
+                 // or the related uri http://java.sun.com/jsf/core
+                 if (message.contains("\"f\"") 
+                         || message.contains("\"" + CoreLibrary.Namespace + "\""))
+                 {
+                     // check facelets-only f tags
+                     for (String tag : FACELETS_ONLY_F_TAGS)
+                     {
+                         if (message.contains("\"" + tag + "\""))
+                         {
+                             String exceptionMessage = "The tag f:" + tag + 
+                                     " is only available on facelets.";
+                             throw new FacesException(exceptionMessage, 
+                                     new FaceletsOnlyException(exceptionMessage, e.getCause()));
+                         }
+                     }
+                 }  
+                 else if (message.contains("\"h\"") 
+                         || message.contains("\"" + HtmlLibrary.Namespace + "\""))
+                 {
+                     // check facelets-only h tags
+                     for (String tag : FACELETS_ONLY_H_TAGS)
+                     {
+                         if (message.contains("\"" + tag + "\""))
+                         {
+                             String exceptionMessage = "The tag h:" + tag + 
+                                     " is only available on facelets.";
+                             throw new FacesException(exceptionMessage, 
+                                     new FaceletsOnlyException(exceptionMessage, e.getCause()));
+                         }
+                     }
+                 }
+                 else 
+                 {
+                     // check facelets-only namespaces
+                     String namespace = null;
+                     if (message.contains(UILibrary.Namespace))
+                     {
+                         namespace = UILibrary.Namespace;
+                     }
+                     else if (message.contains(CompositeLibrary.NAMESPACE))
+                     {
+                         namespace = CompositeLibrary.NAMESPACE;
+                     }
+                     
+                     if (namespace != null)
+                     {
+                         // the message contains a facelets-only namespace
+                         String exceptionMessage = "All tags with namespace " +
+                                 namespace + " are only available on facelets.";
+                         throw new FacesException(exceptionMessage, 
+                                 new FaceletsOnlyException(exceptionMessage, e.getCause()));
+                     }
+                 }
+             }
+             
+             // no rule applied to this Exception - rethrow it
+             throw e;
+         }
+         finally
+         {
+             externalContext.setResponse(response);
+         }
+ 
+         boolean errorResponse = wrappedResponse.getStatus() < 200 || wrappedResponse.getStatus() > 299;
+         if (errorResponse)
+         {
+             wrappedResponse.flushToWrappedResponse();
+             return;
+         }
+ 
+         //Skip this step if we are rendering an ajax request, because no content outside
+         //f:view tag should be output.
+         if (!context.getPartialViewContext().isPartialRequest())
+         {
+             // store the wrapped response in the request, so it is thread-safe
+             setAfterViewTagResponseWrapper(externalContext, wrappedResponse);
+         }
+     }
+ 
+     @Override
+     protected void sendSourceNotFound(FacesContext context, String message)
+     {
+         HttpServletResponse response = (HttpServletResponse) context.getExternalContext().getResponse();
+         try
+         {
+             context.responseComplete();
+             response.sendError(HttpServletResponse.SC_NOT_FOUND, message);
+         }
+         catch (IOException ioe)
+         {
+             throw new FacesException(ioe);
+         }
+     }
+ 
 -}
++}

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

[myfaces] 05/08: MYFACES-2658 Indicate a better error when using Facelet TAGs on JSP(X) pages (change to FacesException)

Posted by de...@apache.org.
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 868ef0b4cda7b6e0b2b8ca37e84d10dec179bd19
Author: Leonardo Uribe <lu...@apache.org>
AuthorDate: Wed Apr 14 19:57:14 2010 +0000

    MYFACES-2658 Indicate a better error when using Facelet TAGs on JSP(X) pages (change to FacesException)
---
 .../main/java/org/apache/myfaces/view/jsp/FaceletsOnlyException.java  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/impl/src/main/java/org/apache/myfaces/view/jsp/FaceletsOnlyException.java b/impl/src/main/java/org/apache/myfaces/view/jsp/FaceletsOnlyException.java
index c08cb68..f6beef2 100644
--- a/impl/src/main/java/org/apache/myfaces/view/jsp/FaceletsOnlyException.java
+++ b/impl/src/main/java/org/apache/myfaces/view/jsp/FaceletsOnlyException.java
@@ -18,6 +18,8 @@
  */
 package org.apache.myfaces.view.jsp;
 
+import javax.faces.FacesException;
+
 /**
  * An Exception that indicates that the user uses a
  * facelets-only feature on a JSP.
@@ -27,7 +29,7 @@ package org.apache.myfaces.view.jsp;
  * 
  * @since 2.0
  */
-public class FaceletsOnlyException extends Exception
+public class FaceletsOnlyException extends FacesException
 {
 
     private static final long serialVersionUID = 4268633427284543647L;

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

[myfaces] 06/08: MYFACES-2658 Indicate a better error when using Facelet TAGs on JSP(X) pages (reverted Leonardo's change to FacesException - see the issue in JIRA for details)

Posted by de...@apache.org.
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 016a2c6ecbf5cc52b45609aed64e397307e4a49f
Author: Jakob Korherr <ja...@apache.org>
AuthorDate: Wed Apr 14 20:19:54 2010 +0000

    MYFACES-2658 Indicate a better error when using Facelet TAGs on JSP(X) pages (reverted Leonardo's change to FacesException - see the issue in JIRA for details)
---
 .../main/java/org/apache/myfaces/view/jsp/FaceletsOnlyException.java  | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/impl/src/main/java/org/apache/myfaces/view/jsp/FaceletsOnlyException.java b/impl/src/main/java/org/apache/myfaces/view/jsp/FaceletsOnlyException.java
index f6beef2..c08cb68 100644
--- a/impl/src/main/java/org/apache/myfaces/view/jsp/FaceletsOnlyException.java
+++ b/impl/src/main/java/org/apache/myfaces/view/jsp/FaceletsOnlyException.java
@@ -18,8 +18,6 @@
  */
 package org.apache.myfaces.view.jsp;
 
-import javax.faces.FacesException;
-
 /**
  * An Exception that indicates that the user uses a
  * facelets-only feature on a JSP.
@@ -29,7 +27,7 @@ import javax.faces.FacesException;
  * 
  * @since 2.0
  */
-public class FaceletsOnlyException extends FacesException
+public class FaceletsOnlyException extends Exception
 {
 
     private static final long serialVersionUID = 4268633427284543647L;

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

[myfaces] 02/08: update version to 2.0.0

Posted by de...@apache.org.
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 ff376f10a402fc0113a7313168dd01535210154b
Author: Leonardo Uribe <lu...@apache.org>
AuthorDate: Wed Apr 14 02:16:38 2010 +0000

    update version to 2.0.0
---
 assembly/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/assembly/pom.xml b/assembly/pom.xml
index ddddd2a..bdef76a 100644
--- a/assembly/pom.xml
+++ b/assembly/pom.xml
@@ -11,7 +11,7 @@
   <parent>
     <groupId>org.apache.myfaces.core</groupId>
     <artifactId>myfaces-core-project</artifactId>
-    <version>2.0.0-SNAPSHOT</version>
+    <version>2.0.0</version>
   </parent>
 
   <scm>

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

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

Posted by de...@apache.org.
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.

[myfaces] 08/08: exclude myfaces-core-assembly file

Posted by de...@apache.org.
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 be8edec832fb72812331b85bb1a436f2b9a70b39
Author: Leonardo Uribe <lu...@apache.org>
AuthorDate: Fri Apr 16 02:25:11 2010 +0000

    exclude myfaces-core-assembly file
---
 assembly/src/main/assembly/corebin.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/assembly/src/main/assembly/corebin.xml b/assembly/src/main/assembly/corebin.xml
index 12e06f3..47491f4 100644
--- a/assembly/src/main/assembly/corebin.xml
+++ b/assembly/src/main/assembly/corebin.xml
@@ -8,6 +8,9 @@
     <dependencySet>
       <outputDirectory>lib</outputDirectory>
       <scope>runtime</scope>
+      <excludes>
+        <exclude>org.apache.myfaces.core:myfaces-core-assembly</exclude>
+      </excludes>
     </dependencySet>
   </dependencySets>
   <fileSets>

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