https://issues.apache.org/bugzilla/show_bug.cgi?id=54144

--- Comment #2 from Konstantin Kolinko <knst.koli...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to