haul 2003/02/21 05:59:24 Modified: src/java/org/apache/cocoon/components/modules/input DateMetaInputModule.java DateInputModule.java Log: "typo" Revision Changes Path 1.8 +3 -3 xml-cocoon2/src/java/org/apache/cocoon/components/modules/input/DateMetaInputModule.java Index: DateMetaInputModule.java =================================================================== RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/modules/input/DateMetaInputModule.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- DateMetaInputModule.java 31 Jan 2003 22:51:28 -0000 1.7 +++ DateMetaInputModule.java 21 Feb 2003 13:59:23 -0000 1.8 @@ -110,8 +110,8 @@ parameter = modeConf.getAttribute("parameter",parameter); format = modeConf.getAttribute("format",this.defaultFormat); // preferred: - parameter = modeConf.getChild("parameter").getAttribute(parameter); - format = modeConf.getChild("format").getAttribute(format); + parameter = modeConf.getChild("parameter").getValue(parameter); + format = modeConf.getChild("format").getValue(format); } if (this.defaultFormat.equals(format)) { formatter = this.defaultFormatter; 1.9 +2 -2 xml-cocoon2/src/java/org/apache/cocoon/components/modules/input/DateInputModule.java Index: DateInputModule.java =================================================================== RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/modules/input/DateInputModule.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- DateInputModule.java 31 Jan 2003 22:51:28 -0000 1.8 +++ DateInputModule.java 21 Feb 2003 13:59:23 -0000 1.9 @@ -82,7 +82,7 @@ if (modeConf != null) { format = modeConf.getAttribute("format", (String) this.settings.get("format",null)); // this is preferred: - format = modeConf.getChild("format").getAttribute(format); + format = modeConf.getChild("format").getValue(format); } if (format==null) {