commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From skitch...@apache.org
Subject svn commit: r154661 - jakarta/commons/proper/digester/branches/digester2/src/java/org/apache/commons/digester2/plugins/package.html
Date Mon, 21 Feb 2005 09:56:15 GMT
Author: skitching
Date: Mon Feb 21 01:56:14 2005
New Revision: 154661

URL: http://svn.apache.org/viewcvs?view=rev&rev=154661
Log: (empty)


Modified:
    jakarta/commons/proper/digester/branches/digester2/src/java/org/apache/commons/digester2/plugins/package.html

Modified: jakarta/commons/proper/digester/branches/digester2/src/java/org/apache/commons/digester2/plugins/package.html
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/digester/branches/digester2/src/java/org/apache/commons/digester2/plugins/package.html?view=diff&r1=154660&r2=154661
==============================================================================
--- jakarta/commons/proper/digester/branches/digester2/src/java/org/apache/commons/digester2/plugins/package.html
(original)
+++ jakarta/commons/proper/digester/branches/digester2/src/java/org/apache/commons/digester2/plugins/package.html
Mon Feb 21 01:56:14 2005
@@ -193,8 +193,8 @@
 Here is the addRules method on class SubstituteTransform, from the example:
 <pre>
     public static void addRules(RuleManager rm, String pathPrefix) {
-        rm.addRule("/from", new SetPropertyAction());
-        rm.addRule("/to", new SetPropertyAction());
+        rm.addRule(pathPrefix + "/from", new SetPropertyAction());
+        rm.addRule(pathPrefix + "/to", new SetPropertyAction());
     }
 </pre>
 Note that if many rules are to be added, it might be more convenient to



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message