You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by jw...@apache.org on 2008/03/04 22:53:32 UTC
svn commit: r633661 - in
/myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources:
transform.xsl transform12.xsl
Author: jwaldman
Date: Tue Mar 4 13:53:29 2008
New Revision: 633661
URL: http://svn.apache.org/viewvc?rev=633661&view=rev
Log:
TRINIDAD-987 add 'scoped-id-holder' and 'multi-scoped-id-holder' to transform.xsl and transform12.xsl
done on trunk
Modified:
myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform.xsl
myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform12.xsl
Modified: myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform.xsl
URL: http://svn.apache.org/viewvc/myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform.xsl?rev=633661&r1=633660&r2=633661&view=diff
==============================================================================
--- myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform.xsl (original)
+++ myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform.xsl Tue Mar 4 13:53:29 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/trunk/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform12.xsl
URL: http://svn.apache.org/viewvc/myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform12.xsl?rev=633661&r1=633660&r2=633661&view=diff
==============================================================================
--- myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform12.xsl (original)
+++ myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform12.xsl Tue Mar 4 13:53:29 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()" />