struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken <>
Subject Struts url, a, and iterator tag behaviour
Date Fri, 28 May 2010 00:38:08 GMT
I am trying to dynamically construct a url inside an iterator tag and
use that result in an anchor.

        <s:iterator value="next">
            <s:url  id="companyId" action="companyDetails.action"
                <s:param name="group" value=""/>
                <s:param name="id" value=""/>
                <td><s:property value=""/></td>
                <td><s:property value=""/></td>
                <td><s:property value="log.mlco"/></td>
                <td><s:a value="%{companyId}"><s:property

This is producing the following html:
(Showing two iterations only)


                <td>01  </td>
                <td>****  TEST ** FOCUS INDUSTRIAL ****                            
                <td><a>****  TEST ** FOCUS INDUSTRIAL ****     </a></td>

                <td>01  </td>
                <td>==================+** THE TEST COMPANY  **+================================</td>
                <td><a>CASH ** THE TEST COMPANY  **            </a></td>

Any Ideas?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message