Ok, My Code snippet looks like this.
<logic:iterate name="varAssumptionsForm"
property="varAssumptionsSettingsMap" id="map">
<tr>
<td>
<TABLE border="1" cellpadding="0"
cellspacing="0" style="BORDER-COLLAPSE: collapse"
bordercolor="#111111" width="800">
<TR>
<TD align="center" width="200"><span
class="normaltxt"><bean:write name="map"
property="key"/>
</span></TD>
<logic:iterate name="map" property="value"
id="item">
<TD align="center" width="200"><span
class="normaltxt"><%=item%></span></TD>
</logic:iterate>
<TD align="center" width="200"><span
class="normaltxt">
<html:link
href="varAssumptions.do?action=View&name=${map.key}">view</html:link>
</span></TD>
</TR>
</TABLE>
</td>
</tr>
</logic:iterate>
I have a map, & for each key in the map I have an
array list as a value. So I am using two iterates.
I need to display all the elements in the map, the key
& corresponding elements in a table.
Evrything works fine except the <html:link> tag.
For this line: <html:link
href="varAssumptions.do?action=View&name=${map.key}">view</html:link>
When I click on "view", the key of the map has to be
passed as parameter.
I am not able to get the syntax right for passing the
parameter.
Thanks.
--- Erez Efrati <[EMAIL PROTECTED]> wrote:
> What are you trying to accomplish with the "+key"?
>
> Erez
>
> -----Original Message-----
> From: Phani [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 06, 2004 1:24 AM
> To: [EMAIL PROTECTED]
> Subject: unterminated.tag Exception
>
> I am getting the jsp.error.unterminated.tag
> exception
> because of the following line.
>
> <html:link
> href="varAssumptions.do?action=View&name="
> + key>view</html:link>
>
> Can I get any help.
>
> Thanks.
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
>
---------------------------------------------------------------------
> 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]
>
>
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]