You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/04/08 02:11:00 UTC

DO NOT REPLY [Bug 17929] - EL expression treated as plain text in template data attribute with Jsp Document syntax

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17929>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17929

EL expression treated as plain text in template data attribute with Jsp Document syntax

kin-man.chung@sun.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From kin-man.chung@sun.com  2003-04-08 00:10 -------
The attributes for an unterpreted tag in XML syntax are not evaluated.  That
means that any EL or rt expressions are not evaluated.  This is intended.

To get around this problem, instead of

	<div class="${1+2}">${1+2}</div>

you can write

	<jsp:element name="div">
	    <jsp:attribute name="class">${1+2}</jsp:attribute>
	    <jsp:body>${1+2}</jsp:body>
	</jsp:element>

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