Do this

<html:link href="getorg.do"  paramId="id" paramName="orglist"
paramProperty="id" >

-----Original Message-----
From: Ant�nio Santos [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 04, 2003 11:54 AM
To: [EMAIL PROTECTED]
Subject: how to put a <bean:write> in a href=""



Hi all,

Maybe this is a simple question, but I'm stuck with this:
How can I set a href in a <html:link> tag with a string concatenated
with a <bean:write...>? I mean, I want to do something like this:

<html:link href="getorg.do?id=<bean:write name="orglist"
property="id"/>"><bean:write name="orglist" property="id"/></html:link>

Of course, this doesn't work.

I want href to have the string "getorg.do?id=" concatenated with the
output from <bean:write name="orglist" property="id"/>

I suppose this must be done with a scriptlet. By the way, the "orglist"
bean comes from a logic:iterate over a vector of Beans (named
"orglistview").

Anyone?

Thanks,

Antonio Santos


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



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

Reply via email to