cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: rev 56240 - cocoon/whiteboard/kernel/src/org/apache/cocoon/kernel/runtime
Date Mon, 01 Nov 2004 15:02:02 GMT
Author: pier
Date: Mon Nov  1 07:02:01 2004
New Revision: 56240

Modified:
   cocoon/whiteboard/kernel/src/org/apache/cocoon/kernel/runtime/Factory.java
Log:
Wrong attribute name for component setters

Modified: cocoon/whiteboard/kernel/src/org/apache/cocoon/kernel/runtime/Factory.java
==============================================================================
--- cocoon/whiteboard/kernel/src/org/apache/cocoon/kernel/runtime/Factory.java	(original)
+++ cocoon/whiteboard/kernel/src/org/apache/cocoon/kernel/runtime/Factory.java	Mon Nov  1
07:02:01 2004
@@ -143,7 +143,7 @@
             /* Do we have to set a value? */
             if (curr.hasAttribute("value")) try {
                 Class type = descr.getPropertyType();
-                Object value = curr.getAttributeAs(prop, type);
+                Object value = curr.getAttributeAs("value", type);
                 descr.getWriteMethod().invoke(obj, new Object[] { value });
                 continue;
             } catch (Throwable t) {

Mime
View raw message