I think you want to use the param attributes of the link tag.  It would probabaly 
look something like this:

<html:link href="action" paramId="uname" paramProperty="username" />

I might be a little off but I think the above should generate something like this.

<a href="action.do?uname=user123" >

If this doesn't work follow the link for the documentation.

http://jakarta.apache.org/struts/userGuide/struts-html.html#link

-ken

>>> [EMAIL PROTECTED] 02/06/03 03:15PM >>>
Hi,

I'm trying to add an <html:link tag to point to "action/delUser" action and
pass the username attribute within an iteration over an ArrayList of Users
(bean). I did some research but could not find the syntax.
Any help would be greatly appreciated

<logic:iterate id="user" name="usersList" scope="request">
        <tr>
                <td><bean:write name="user" property="username" filter="true"/></td>
                <td><bean:write name="user" property="firstName" filter="true"/></td>
                <td><bean:write name="user" property="email" filter="true"/></td>
                <td><bean:write name="user" property="joinDate" filter="true"/></td>
                <td><bean:write name="user" property="interest" filter="true"/></td>
                <td><html:link ???????>del</html:link></td>
        </tr>
</logic:iterate>


Diego


---------------------------------------------------------------------
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