You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by ha...@apache.org on 2003/02/21 15:00:59 UTC
cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/modules/input DateInputModule.java DateMetaInputModule.java
haul 2003/02/21 06:00:58
Modified: src/java/org/apache/cocoon/components/modules/input Tag:
cocoon_2_0_3_branch DateInputModule.java
DateMetaInputModule.java
Log:
"typo"
Revision Changes Path
No revision
No revision
1.3.4.4 +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.3.4.3
retrieving revision 1.3.4.4
diff -u -r1.3.4.3 -r1.3.4.4
--- DateInputModule.java 4 Feb 2003 15:44:06 -0000 1.3.4.3
+++ DateInputModule.java 21 Feb 2003 14:00:58 -0000 1.3.4.4
@@ -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) {
1.3.2.4 +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.3.2.3
retrieving revision 1.3.2.4
diff -u -r1.3.2.3 -r1.3.2.4
--- DateMetaInputModule.java 4 Feb 2003 15:44:06 -0000 1.3.2.3
+++ DateMetaInputModule.java 21 Feb 2003 14:00:58 -0000 1.3.2.4
@@ -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;