You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2002/07/25 22:04:19 UTC
DO NOT REPLY [Bug 11179] -
Improper parsing of Struts tag when property is set with JSP embed
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=11179>.
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=11179
Improper parsing of Struts tag when property is set with JSP embed
martinc@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From martinc@apache.org 2002-07-25 20:04 -------
This is not a bug. What you are doing in your examples D and E is not legal
JSP. The content of an attribute value must be either a string literal or a
runtime expression, and you cannot mix the two. So to accomplish what you want
for examples D and E, you would simply change them to:
<html:hidden property='<%= "that" + Constants.NAME_D %>' value="" />
<html:hidden property='<%= " " + Constants.NAME_E %>' value="" />
This way, the entire attribute value is a runtime expression, and the string
concatenation is performed inside that expression.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>