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=15357>.
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=15357

EL Expressions are not evaluated when provided to the 'width' or 'height' attributes 
of jsp:plugin

           Summary: EL Expressions are not evaluated when provided to the
                    'width' or 'height' attributes of jsp:plugin
           Product: Tomcat 5
           Version: Nightly Build
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Jasper2
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


It appears that if the width or height attributes of jsp:plugin are provided 
with an EL expression, this expression isn't evaluated, and the output of the
attribute after processing is the EL expression itself instead.

Example:

  <jsp:plugin code="foo.class" codebase="/" width="${'10'}" />

The generated output:

 



<OBJECT classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93 width="${'10'}"
codebase="http://java.sun.com/products/plugin/1.2.2/jinstall-1_2_2-win.cab#Version=1,2,2,0";>
<PARAM name="java_code" value="foo.class">
<PARAM name="java_codebase" value="/">
<PARAM name="type" value="application/x-java-bean;">
<COMMENT>
<EMBED type="application/x-java-bean;" width="${'10'}"
pluginspage="http://java.sun.com/products/plugin/"; java_code="foo.class"
java_codebase="/">
<NOEMBED>
</COMMENT>
</NOEMBED></EMBED>
</OBJECT>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to