You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ma...@apache.org on 2009/05/22 08:34:30 UTC
svn commit: r777400 -
/myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/faces/parse/FacesConfigParser.java
Author: matzew
Date: Fri May 22 06:34:29 2009
New Revision: 777400
URL: http://svn.apache.org/viewvc?rev=777400&view=rev
Log:
TRINIDAD-1484 - Change Trinidad metadata (build .xml files) to use jsr-276 metadata standard
Committed the first part of this JIRA ticket, the plugins part
Thanks to Bill for his patch
Modified:
myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/faces/parse/FacesConfigParser.java
Modified: myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/faces/parse/FacesConfigParser.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/faces/parse/FacesConfigParser.java?rev=777400&r1=777399&r2=777400&view=diff
==============================================================================
--- myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/faces/parse/FacesConfigParser.java (original)
+++ myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/faces/parse/FacesConfigParser.java Fri May 22 06:34:29 2009
@@ -277,6 +277,12 @@
digester.addBeanPropertySetter("faces-config/component/property/property-extension/property-metadata/deprecated");
digester.addCallMethod("faces-config/component/property/property-extension/property-metadata/no-op", "makeNoOp");
+ // jsr-276 metadata rules
+ digester.setRuleNamespaceURI("http://java.sun.com/xml/ns/javaee/faces/design-time-metadata");
+ digester.addCallMethod("faces-config/component/property/property-extension/property-metadata/property-values",
+ "parsePropertyValues", 1);
+ digester.addCallParam("faces-config/component/property/property-extension/property-metadata/property-values", 0);
+
digester.setRuleNamespaceURI(oldNamespace);
}