incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mat...@apache.org
Subject svn commit: r530308 - /incubator/adffaces/trunk/plugins/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform.xsl
Date Thu, 19 Apr 2007 07:53:45 GMT
Author: matzew
Date: Thu Apr 19 00:53:44 2007
New Revision: 530308

URL: http://svn.apache.org/viewvc?view=rev&rev=530308
Log:
ADFFACES-459 - maven-faces-plugin doesn't support deprecated element in facet-metadata element
Thx to Bill Bagget, for providing a fix.

Modified:
    incubator/adffaces/trunk/plugins/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform.xsl

Modified: incubator/adffaces/trunk/plugins/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform.xsl
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/plugins/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform.xsl?view=diff&rev=530308&r1=530307&r2=530308
==============================================================================
--- incubator/adffaces/trunk/plugins/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform.xsl
(original)
+++ incubator/adffaces/trunk/plugins/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform.xsl
Thu Apr 19 00:53:44 2007
@@ -305,7 +305,7 @@
     </xsl:element>
   </xsl:template>
 
-  <xsl:template match="//javaee:facet-extension[mfp:facet-metadata|mfp:preferred-children|mfp:preferred|mfp:unsupported-agents]"
>
+  <xsl:template match="//javaee:facet-extension[mfp:facet-metadata|mfp:preferred-children|mfp:preferred|mfp:unsupported-agents|mfp:deprecated]"
>
     <xsl:element name="facet-extension" >
       <xsl:element name="facet-metadata" >
         <xsl:apply-templates/>
@@ -876,6 +876,12 @@
 
   <xsl:template match="//mfp:preferred" >
     <xsl:element name="preferred" >
+      <xsl:value-of select="text()" />
+    </xsl:element>
+  </xsl:template>
+
+  <xsl:template match="//mfp:deprecated" >
+    <xsl:element name="deprecated" >
       <xsl:value-of select="text()" />
     </xsl:element>
   </xsl:template>



Mime
View raw message