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

Can't do partial scriptlet/partial literal even when rtexprvalue is set to true

           Summary: Can't do partial scriptlet/partial literal even when
                    rtexprvalue is set to true
           Product: Tomcat 4
           Version: 4.0.1 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


1. Base case - just literals. This works fine:
<<<<<<<<<<<<<<<<<<<<<
<randomNamespace:display
    item="lastName"
    pre="<font color=#000000>"
    />
>>>>>>>>>>>>>>>>>>>>>
2. Simple scriptlet. This works fine:
<<<<<<<<<<<<<<<<<<<<<
<% String preString = "<font color=#000000>Last Name:</font>"; %>

<randomNamespace:display
    item="lastName"
    pre="<%=preString%>"
    />
>>>>>>>>>>>>>>>>>>>>>
3. Mixed scriptlet/literals. This does not come out as one might expect:
<<<<<<<<<<<<<<<<<<<<<
<% String fontColor = "#000000"; %>
<randomNamespace:display
    item="lastName"
    pre="<font color=<%=fontColor%>>LastName</font>:"
    />
>>>>>>>>>>>>>>>>>>>>>
In the last case, it just passes the literal "<font
color=<%=fontColor%>>LastName</font>" to the tag. 

I looked through the JSP 1.2 spec for 'rtexprvalue' and didn't find anything
that speaks specifically to this issue. 

Thanks for any clarification.

John

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

Reply via email to