You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by de...@apache.org on 2017/09/17 18:05:52 UTC

[myfaces-trinidad-maven] 15/17: TRINIDAD-1656 - Maven-faces-plugin faces-config.xml generation does not allow ViewRoot replacement

This is an automated email from the ASF dual-hosted git repository.

deki pushed a commit to branch 1.2.10.1-branch
in repository https://gitbox.apache.org/repos/asf/myfaces-trinidad-maven.git

commit 49d61e56dfb74a32a76f37a923a5b096ff70f35e
Author: Matthias Wessendorf <ma...@apache.org>
AuthorDate: Tue Dec 8 17:58:28 2009 +0000

    TRINIDAD-1656 - Maven-faces-plugin faces-config.xml generation does not allow ViewRoot replacement
---
 .../myfaces/trinidadbuild/plugin/faces/resources/transform12.xsl       | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform12.xsl b/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform12.xsl
index 0773dce..8b0f500 100644
--- a/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform12.xsl
+++ b/maven-faces-plugin/src/main/resources/org/apache/myfaces/trinidadbuild/plugin/faces/resources/transform12.xsl
@@ -80,7 +80,8 @@
       <xsl:apply-templates select="javaee:application" />
       <xsl:apply-templates select="javaee:factory" />
       <xsl:apply-templates select="javaee:component[not(contains(javaee:component-extension/mfp:component-class-modifier/text(), 'abstract')) and
-                                                    starts-with(javaee:component-type, $typePrefix)]" />
+        (starts-with(javaee:component-type, $typePrefix) or 
+          (contains(javaee:component-type, 'javax.faces.ViewRoot')))]" />
       <xsl:apply-templates select="javaee:converter[contains(javaee:converter-class, $converterPackageContains)]" />
       <xsl:apply-templates select="javaee:managed-bean[contains(javaee:managed-bean-class, $packageContains)]" />
       <xsl:apply-templates select="javaee:navigation-rule" />

-- 
To stop receiving notification emails like this one, please contact
"commits@myfaces.apache.org" <co...@myfaces.apache.org>.