Oops, I meant <% if (row.getUserAccountID() != null) { %> or course!
On 19-Sep-05, at 5:02 PM, Laurie Harper wrote:
You have id="row" so try this:
<% if (row.userAccountID != null) { %>
L.
On 19-Sep-05, at 4:17 AM, Clemen Canaria wrote:
Hi guys,
here's my table:
<display:table id="row" name="requestScope.results.rows"
requestURI="Users.do" pagesize="10" export="true"
class="whitetext" border="0" align="center" cellpadding="5"
cellspacing="5" width="700">
<display:column headerClass="tableheader"
property="username" align="left" sortable="true"/>
<display:column headerClass="tableheader"
property="firstName" align="left" sortable="true"/>
<display:column headerClass="tableheader"
property="middleName" align="left" sortable="true"/>
<display:column headerClass="tableheader"
property="lastName" align="left" sortable="true"/>
<display:column headerClass="tableheader" property="email"
align="left" autolink="true" sortable="true"/>
<display:column headerClass="tableheader"
property="companyName" align="left" sortable="true"/>
<display:column href="EditUser.do" paramId="id"
paramProperty="userAccountID">Edit</display:column>
<display:column href="SuspendUser.do" paramId="id"
paramProperty="userAccountID">Suspend</display:column>
<display:column href="DeleteUser.do" paramId="id"
paramProperty="userAccountID">Delete</display:column>
<display:footer>
<tr><td colspan="9" align="right"><a
href="AddUser.do"><b>Add</b></a></td></tr>
</display:footer>
</display:table>
in: <display:column href="SuspendUser.do" paramId="id"
paramProperty="userAccountID">Suspend</display:column>
i want to to have something like this:
<display:column href="SuspendUser.do" paramId="id"
paramProperty="userAccountID">
<% if (userAccountID != null) { %>
Suspend
<% } else { %>
Unsuspend
<% } %>
</display:column>
how do i extract the property UserAccountID from the list?
Thanks in advance.
--
<C:\Documents and Settings\Clemen\My Documents\My Pictures\gmail
sigs\gmail3.png>
--
Laurie Harper
Open Source advocate, Java geek: http://www.holoweb.net/laurie
Founder, Zotech Software: http://www.zotechsoftware.com/
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user
--
Laurie Harper
Open Source advocate, Java geek: http://www.holoweb.net/laurie
Founder, Zotech Software: http://www.zotechsoftware.com/
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user