Hello All, I am using DisplayTag in my Struts App to display a list of results. One of the columns is shown as a hyperlink to show the details for that row on a different screen. Now, I want to be able to make this column as a hyperlink only for certain authorized users like admins. I could have used <logic:equal> tag but not sure how to put that with the Display Tag. Below is my code. Normally I would use the href tag but want to use it only for admin access otherwise it should be displayed as normal column.
<display:table name="sessionScope.searchResults" pagesize="5" defaultsort="2" defaultorder="descending" export="true" id="register"> <display:column property="lastName" title="Last Name" sortable="true" headerClass="sortable" href="/registration/viewRegistration.do" paramId="memberName" paramProperty="memberName" /> </display:table> Is there anyways I could do that in between <display:column> tag?? Thanks for your help Gnan ======================================================================== This email message is for the sole use of the intended recipient (s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. To reply to our email administrator directly, send an email to [EMAIL PROTECTED] Toys "R" Us, Inc. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]