myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mat...@apache.org
Subject svn commit: r891581 - /myfaces/trinidad-maven/branches/2.0.0-branch/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform20.xsl
Date Thu, 17 Dec 2009 08:32:43 GMT
Author: matzew
Date: Thu Dec 17 08:32:42 2009
New Revision: 891581

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

Thanks to Pavitra Subramaniam for her patch, as we initially forgot the <partial-view-context-factory>
element.....

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

Modified: myfaces/trinidad-maven/branches/2.0.0-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.0-branch/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform20.xsl?rev=891581&r1=891580&r2=891581&view=diff
==============================================================================
--- myfaces/trinidad-maven/branches/2.0.0-branch/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform20.xsl
(original)
+++ myfaces/trinidad-maven/branches/2.0.0-branch/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform20.xsl
Thu Dec 17 08:32:42 2009
@@ -431,6 +431,7 @@
       <xsl:apply-templates select="javaee:application-factory[contains(text(), $packageContains)]"
/>
       <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:render-kit-factory[contains(text(), $packageContains)]"
/>
       <xsl:apply-templates select="javaee:view-declaration-language-factory[contains(text(),
$packageContains)]" />
     </xsl:element>
@@ -454,12 +455,18 @@
     </xsl:element>
   </xsl:template>
 
+  <xsl:template match="//javaee:partial-view-context-factory" >
+    <xsl:element name="partial-view-context-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()" />
     </xsl:element>
   </xsl:template>
-
+  
   <xsl:template match="//javaee:view-declaration-language-factory" >
     <xsl:element name="view-declaration-language-factory" >
       <xsl:value-of select="text()" />



Mime
View raw message