You can achieve this with displaytag decorators. There are examples on the
net.
See for instance:
http://displaytag.sourceforge.net/11/tut_links.html

Josep

2010/11/10 Vanessa Pacheco <vpach...@bowmansystems.com>

> Never mind my previous css question. I found firebug to be a great help
> there. I do have another question though.
>
> I would like to add a delete icon to every row in the user list so that
> when i click it, it asks whether i really want to delete the user....if I
> click OK, it deletes and if I click cancel it does not delete
>
> Just using trial and error, I added this to the userlist.jsp,
> <display:table name="userList" cellspacing="0" cellpadding="0"
> requestURI=""
>    defaultsort="1" id="users" pagesize="25" class="table" export="true">
>    <display:column title="Action">
>       <html:link action="/EditSubscription?action=Delete"
> paramId="username"
>          paramName="RegistrationForm" paramProperty="username">
>          <bean:message key="registration.deleteSubscription"/>
>       </html:link>
>    </display:column>
>    <display:column property="username" escapeXml="true" sortable="true"
> titleKey="user.username" style="width: 25%"
>        url="/userform.html?from=list" paramId="id" paramProperty="id"/>
>
> which ofcourse doesn't work (I knew it wouldn't). Could someone guide me
> please
>
> Thnx
> Vanessa
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>
>

Reply via email to