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

Custom Tag with scriptlet Expression attribute not compiled correctly

           Summary: Custom Tag with scriptlet Expression attribute not
                    compiled correctly
           Product: Tomcat 4
           Version: 4.0.1 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Jasper
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


A custom tag with a scriptlet expression for an attribute will compile the 
scriptlet attribute as a string, instead of a variable.

The code in the jsp:

<test:tasks command="<%=command%>">

The resulting compiled code:

_jspx_th_test_tasks_0.setCommand("<%=command%>");


>From Sun's site:
http://java.sun.com/products/jsp/tutorial/TagLibraries6.html

The following tag has an attribute named date, which accepts a String value 
obtained by evaluating the variable today: 

<tlt:greeting date="<%= today %>" />

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

Reply via email to