You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ma...@apache.org on 2010/04/13 14:00:32 UTC

svn commit: r933568 - /myfaces/trinidad-maven/branches/2.0.x-branch/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform20.xsl

Author: matzew
Date: Tue Apr 13 12:00:32 2010
New Revision: 933568

URL: http://svn.apache.org/viewvc?rev=933568&view=rev
Log:
TRINIDAD-1783 - Maven 2.0 plugin needs to add support for the new JSF 2.0 faces-config element <exception-handle-factory> element

Modified:
    myfaces/trinidad-maven/branches/2.0.x-branch/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform20.xsl

Modified: myfaces/trinidad-maven/branches/2.0.x-branch/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform20.xsl
URL: http://svn.apache.org/viewvc/myfaces/trinidad-maven/branches/2.0.x-branch/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform20.xsl?rev=933568&r1=933567&r2=933568&view=diff
==============================================================================
--- myfaces/trinidad-maven/branches/2.0.x-branch/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform20.xsl (original)
+++ myfaces/trinidad-maven/branches/2.0.x-branch/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform20.xsl Tue Apr 13 12:00:32 2010
@@ -432,6 +432,7 @@
       <xsl:apply-templates select="javaee:faces-context-factory[contains(text(), $packageContains)]" />
       <xsl:apply-templates select="javaee:lifecycle-factory[contains(text(), $packageContains)]" />
       <xsl:apply-templates select="javaee:partial-view-context-factory[contains(text(), $packageContains)]" />
+      <xsl:apply-templates select="javaee:exception-handler-factory[contains(text(), $packageContains)]" />
       <xsl:apply-templates select="javaee:render-kit-factory[contains(text(), $packageContains)]" />
       <xsl:apply-templates select="javaee:view-declaration-language-factory[contains(text(), $packageContains)]" />
     </xsl:element>
@@ -461,6 +462,12 @@
     </xsl:element>
   </xsl:template>  
 
+  <xsl:template match="//javaee:exception-handler-factory" >
+    <xsl:element name="exception-handler-factory" >
+      <xsl:value-of select="text()" />
+    </xsl:element>
+  </xsl:template>  
+
   <xsl:template match="//javaee:render-kit-factory" >
     <xsl:element name="render-kit-factory" >
       <xsl:value-of select="text()" />