myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwald...@apache.org
Subject svn commit: r633595 - in /myfaces/trinidad-maven/branches/1.2.6.1-branch/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources: transform.xsl transform12.xsl
Date Tue, 04 Mar 2008 19:17:28 GMT
Author: jwaldman
Date: Tue Mar  4 11:17:25 2008
New Revision: 633595

URL: http://svn.apache.org/viewvc?rev=633595&view=rev
Log:
TRINIDAD-987 add 'scoped-id-holder' and 'multi-scoped-id-holder' to transform.xsl and transform12.xsl

Modified:
    myfaces/trinidad-maven/branches/1.2.6.1-branch/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform.xsl
    myfaces/trinidad-maven/branches/1.2.6.1-branch/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform12.xsl

Modified: myfaces/trinidad-maven/branches/1.2.6.1-branch/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform.xsl
URL: http://svn.apache.org/viewvc/myfaces/trinidad-maven/branches/1.2.6.1-branch/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform.xsl?rev=633595&r1=633594&r2=633595&view=diff
==============================================================================
--- myfaces/trinidad-maven/branches/1.2.6.1-branch/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform.xsl
(original)
+++ myfaces/trinidad-maven/branches/1.2.6.1-branch/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform.xsl
Tue Mar  4 11:17:25 2008
@@ -58,6 +58,8 @@
   <!ELEMENT property-editor (#PCDATA)>
   <!ELEMENT short-description (#PCDATA)>
   <!ELEMENT translatable (#PCDATA)>
+  <!ELEMENT scoped-id-holder (#PCDATA)>
+  <!ELEMENT multi-scoped-id-holder (#PCDATA)>
   <!ELEMENT unsupported-agents (#PCDATA)>
   <!ATTLIST component-metadata component-type CDATA #IMPLIED>
 ]>
@@ -395,7 +397,7 @@
     </xsl:element>
   </xsl:template>
   
-  <xsl:template match="//javaee:property-extension[mfp:property-values|mfp:group|mfp:translatable|mfp:property-editor|mfp:expert|mfp:unsupported-agents|*[namespace-uri()
!= 'http://java.sun.com/xml/ns/javaee' and namespace-uri() !='http://myfaces.apache.org/maven-faces-plugin']]"
>
+  <xsl:template match="//javaee:property-extension[mfp:property-values|mfp:group|mfp:translatable|mfp:scoped-id-holder|mfp:multi-scoped-id-holder|mfp:property-editor|mfp:expert|mfp:unsupported-agents|*[namespace-uri()
!= 'http://java.sun.com/xml/ns/javaee' and namespace-uri() !='http://myfaces.apache.org/maven-faces-plugin']]"
>
     <xsl:element name="property-extension" >
       <xsl:element name="property-metadata" >
         <xsl:apply-templates/>
@@ -869,6 +871,18 @@
 
   <xsl:template match="//mfp:property-metadata/mfp:translatable" >
     <xsl:element name="translatable" >
+      <xsl:value-of select="text()" />
+    </xsl:element>
+  </xsl:template>
+
+  <xsl:template match="//mfp:property-metadata/mfp:scoped-id-holder" >
+    <xsl:element name="scoped-id-holder" >
+      <xsl:value-of select="text()" />
+    </xsl:element>
+  </xsl:template>
+
+  <xsl:template match="//mfp:property-metadata/mfp:multi-scoped-id-holder" >
+    <xsl:element name="multi-scoped-id-holder" >
       <xsl:value-of select="text()" />
     </xsl:element>
   </xsl:template>

Modified: myfaces/trinidad-maven/branches/1.2.6.1-branch/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform12.xsl
URL: http://svn.apache.org/viewvc/myfaces/trinidad-maven/branches/1.2.6.1-branch/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform12.xsl?rev=633595&r1=633594&r2=633595&view=diff
==============================================================================
--- myfaces/trinidad-maven/branches/1.2.6.1-branch/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform12.xsl
(original)
+++ myfaces/trinidad-maven/branches/1.2.6.1-branch/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform12.xsl
Tue Mar  4 11:17:25 2008
@@ -377,7 +377,7 @@
     </xsl:element>
   </xsl:template>
   
-  <xsl:template match="//javaee:property-extension[mfp:property-values|mfp:group|mfp:translatable|mfp:property-editor|mfp:expert|mfp:unsupported-agents|*[namespace-uri()
!= 'http://java.sun.com/xml/ns/javaee' and namespace-uri() !='http://myfaces.apache.org/maven-faces-plugin']]"
>
+  <xsl:template match="//javaee:property-extension[mfp:property-values|mfp:group|mfp:translatable|mfp:scoped-id-holder|mfp:multi-scoped-id-holder|mfp:property-editor|mfp:expert|mfp:unsupported-agents|*[namespace-uri()
!= 'http://java.sun.com/xml/ns/javaee' and namespace-uri() !='http://myfaces.apache.org/maven-faces-plugin']]"
>
     <xsl:element name="property-extension" >
       <xsl:element name="property-metadata" >
         <xsl:apply-templates/>
@@ -853,6 +853,19 @@
       <xsl:value-of select="text()" />
     </xsl:element>
   </xsl:template>
+  
+  <xsl:template match="//mfp:property-metadata/mfp:scoped-id-holder" >
+    <xsl:element name="scoped-id-holder" >
+      <xsl:value-of select="text()" />
+    </xsl:element>
+  </xsl:template>
+  
+  <xsl:template match="//mfp:property-metadata/mfp:multi-scoped-id-holder" >
+    <xsl:element name="multi-scoped-id-holder" >
+      <xsl:value-of select="text()" />
+    </xsl:element>
+  </xsl:template>
+  
   <xsl:template match="//mfp:accepts-child-components" >
     <xsl:element name="accepts-child-components" >
       <xsl:value-of select="text()" />



Mime
View raw message