myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mat...@apache.org
Subject svn commit: r833053 - /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, 05 Nov 2009 14:42:16 GMT
Author: matzew
Date: Thu Nov  5 14:42:05 2009
New Revision: 833053

URL: http://svn.apache.org/viewvc?rev=833053&view=rev
Log:
TRINIDAD-1625 - add support for new application elements (on a 2.0 faces-config.xml)

=> faces-config/application/system-event-listener*** done

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=833053&r1=833052&r2=833053&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 Nov  5 14:42:05 2009
@@ -288,6 +288,7 @@
       <xsl:apply-templates select="javaee:property-resolver[contains(text(), $packageContains)]"
/>
       <xsl:apply-templates select="javaee:variable-resolver[contains(text(), $packageContains)]"
/>
       <xsl:apply-templates select="javaee:partial-traversal[contains(text(), $packageContains)]"
/>
+      <xsl:apply-templates select="javaee:system-event-listener" />
       <xsl:apply-templates select="javaee:locale-config" />
       <xsl:apply-templates select="javaee:resource-bundle" />
     </xsl:element>
@@ -353,6 +354,32 @@
     </xsl:element>
   </xsl:template>
 
+  <xsl:template match="//javaee:system-event-listener" >
+    <xsl:element name="system-event-listener" >
+      <xsl:apply-templates select="javaee:system-event-class" />
+      <xsl:apply-templates select="javaee:system-event-listener-class[contains(text(),
$packageContains)]" />
+      <xsl:apply-templates select="javaee:source-class" />
+    </xsl:element>
+  </xsl:template>
+
+  <xsl:template match="//javaee:system-event-class" >
+    <xsl:element name="system-event-class" >
+      <xsl:value-of select="text()" />
+    </xsl:element>
+  </xsl:template>
+
+  <xsl:template match="//javaee:system-event-listener-class" >
+    <xsl:element name="system-event-listener-class" >
+      <xsl:value-of select="text()" />
+    </xsl:element>
+  </xsl:template>
+
+  <xsl:template match="//javaee:source-class" >
+    <xsl:element name="source-class" >
+      <xsl:value-of select="text()" />
+    </xsl:element>
+  </xsl:template>
+
   <xsl:template match="//javaee:locale-config" >
     <xsl:element name="locale-config" >
       <xsl:apply-templates />



Mime
View raw message