tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: svn commit: r920907 - /tomcat/trunk/java/org/apache/jasper/compiler/Generator.java
Date Tue, 09 Mar 2010 15:10:50 GMT
2010/3/9  <markt@apache.org>:
> Author: markt
> Date: Tue Mar  9 15:01:05 2010
> New Revision: 920907
>
> URL: http://svn.apache.org/viewvc?rev=920907&view=rev
> Log:
> Review feedback
> 1. getNameFromAttribute() returns the attribute name, not the variable name and
> 2. This is a translation time test so the attribute value is not known
>

See table Table JSP.8-4 in chapter JSP.8.5.3 the JSP 2.1 spec (page "1-183")
It says about name-from-attribute:
"The specified name is the name of an
"attribute whose (translation-time) value at of the start of the
"tag invocation will give the name of the variable."

So the attribute value must be known at translation time.
Cannot verify that without some testing, though.

Best regards,
Konstantin Kolinko

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


Mime
View raw message