tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54144] Processing of java.io.Reader in "Out" tagplugin
Date Thu, 15 Nov 2012 08:48:09 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54144

--- Comment #2 from Konstantin Kolinko <knst.kolinko@gmail.com> ---
(In reply to comment #1)
> One has to check whether the attribute is present, instead of checking
> whether its value is null.

Actually checking for null should be OK here. Apache implementation of JSTL
tests for null there. "if (def != null)" on line 100 in
http://svn.apache.org/viewvc/tomcat/taglibs/standard/tags/standard-112/src/org/apache/taglibs/standard/tag/common/core/OutSupport.java?view=markup


4. If default is not specified, the body of the tag has to be used as the
default value. This feature was completely broken by r1401816 as the following
lines were removed:

-        ctxt.generateJavaSource("    }else{");
-        ctxt.generateBody();
-        ctxt.generateJavaSource("    }");

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message