luehe 2002/08/28 10:57:13 Modified: jasper2/src/share/org/apache/jasper/compiler Generator.java Log: Fixed 11829 ("Unable to use Property editors with jsp:attribute") Revision Changes Path 1.82 +11 -10 jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Generator.java Index: Generator.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Generator.java,v retrieving revision 1.81 retrieving revision 1.82 diff -u -r1.81 -r1.82 --- Generator.java 27 Aug 2002 21:31:57 -0000 1.81 +++ Generator.java 28 Aug 2002 17:57:12 -0000 1.82 @@ -1042,16 +1042,17 @@ // that body. String valueVarName = generateNamedAttributeValue( value.getNamedAttributeNode() ); - out.println("JspRuntimeLibrary.handleSetProperty(" + + out.printil("JspRuntimeLibrary.introspecthelper(" + "pageContext.findAttribute(\"" + name + "\"), \"" - + property + "\", " + valueVarName + " );" ); - + + property + "\", " + + valueVarName + + ", null, null, false);"); } else { - out.printil("JspRuntimeLibrary.introspecthelper(" + - "pageContext.findAttribute(\"" + name + "\"), \"" + - property + "\","); + out.printin("JspRuntimeLibrary.introspecthelper(" + + "pageContext.findAttribute(\"" + name + "\"), \"" + + property + "\", "); out.print(attributeValue(value, false, null, "null")); - out.println(",null, null, false);"); + out.println(", null, null, false);"); } n.setEndJavaLine(out.getJavaLine());
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>