>>>>> "Sundar" == Sundar Narasimhan <[EMAIL PROTECTED]> writes:

    Sundar> Hi, I have a variable "type" which I'd like to use like so
    Sundar> <logic:iterate id="element" collection="<%= myVector %>">
    Sundar>   <li> <html:link page="/action<%= type %>.do"> <bean:write name="element" 
/> </html:link></li>
    Sundar> </logic:iterate>

    Sundar> But no matter what I try I don't seem to be able to get the link to do
    Sundar> the right thing.. Ideas?

Well, one problem is that if you use a scriptlet expression for a custom tag
attribute, the expression scriptlet has to be the entire attribute value, not
just a portion of it.  You'll have to concatenate strings together.

-- 
===================================================================
David M. Karr          ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]   ; SCJP; SCWCD




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

Reply via email to