Solved

how to use href with display tag.

Posted on 2007-03-21
2
501 Views
Last Modified: 2008-02-01
Hi Experts.

how to use href with display tag.

I need to hyperlink a column
<display:column title="Voyage in Queue" property="link2" align="left" />
i need to do hyperlink the value for voyage in queue. Can you please help me out how to do it.

Thanks,
Ganne
0
Comment
Question by:gannev
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 27

Expert Comment

by:mrcoffee365
ID: 18766328
One way is to create get and set methods for link2 and construct your link there.  Something like:
public String getLink2(){
  ListObject currRowObject = (ListObject)getCurrentRowObject();
  String queueId = (currRowObject.getQueueId());  
  return "<a href=/queue.jsp?queueId =" + queueId  + ">Link2</a>";
}
0
 
LVL 30

Accepted Solution

by:
Mayank S earned 500 total points
ID: 18767482
<display: column title="Voyage in Queue" property="link2" align="left" href = "whatever HREF you want" />

?

http://displaytag.sourceforge.net/10/tut_links.html
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
J2SE 5.0 metadata 1 69
best way to search/remove a file from an EAR file 3 119
Handle form fields in spring mvc controller 1 72
countXY challenge 28 179
The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question