Return-Path: Delivered-To: apmail-xml-cocoon-cvs-archive@xml.apache.org Received: (qmail 10178 invoked by uid 500); 21 Feb 2003 13:59:25 -0000 Mailing-List: contact cocoon-cvs-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: cocoon-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cocoon-cvs@xml.apache.org Received: (qmail 10164 invoked by uid 500); 21 Feb 2003 13:59:25 -0000 Delivered-To: apmail-xml-cocoon2-cvs@apache.org Received: (qmail 10153 invoked from network); 21 Feb 2003 13:59:25 -0000 Received: from icarus.apache.org (208.185.179.13) by daedalus.apache.org with SMTP; 21 Feb 2003 13:59:25 -0000 Received: (qmail 82920 invoked by uid 1348); 21 Feb 2003 13:59:25 -0000 Date: 21 Feb 2003 13:59:25 -0000 Message-ID: <20030221135925.82919.qmail@icarus.apache.org> From: haul@apache.org To: xml-cocoon2-cvs@apache.org Subject: cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/modules/input DateMetaInputModule.java DateInputModule.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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) {