That's the kind of solution I was looking at, although using <c:url> with 
included <c:param> might be more robust. But I would prefer to use the action 
name rather than the direct url.

Regards
Vincent

-----Original Message-----
From: Brandon Mercer [mailto:[EMAIL PROTECTED]
Sent: jeudi 8 septembre 2005 15:35
To: Struts Users Mailing List
Subject: Re: nested <c:forEach> and <html-el:link>


Lombart Vincent (DBB) wrote:

>Dear all,
>
>Does anybody know why the following JSP code does not work:
>
><table border="1" cellspacing="0">
>  <tbody>
>    <c:forEach items="${monitorBean.rows}" var="irow">
>      <tr>
>        <c:forEach items="${irow.columns}" var="icol">
>          <td><html-el:link action="monitor" paramId="monitorName" 
> paramName="icol">
>          <c:out value="${icol}"/></html-el:link></td>
>        </c:forEach>
>      </tr>
>    </c:forEach>
>  </tbody>
></table>
> 
>
<table border="1" cellspacing="0">
  <tbody>
    <c:forEach items="${monitorBean.rows}" var="irow">
      <tr>
        <c:forEach items="${irow.columns}" var="icol">
          <td><a 
href="monitor.do?monitorName=${icol.monitor}">${icol.monitor}</a></td>
        </c:forEach>
      </tr>
    </c:forEach>
  </tbody>
</table>

What about something more like that??

Brandon




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


--------------------------------------
Dexia Bank disclaimer :
http://www.dexia.be/maildisclaimer.htm
--------------------------------------


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

Reply via email to