Solved

how to use href with display tag.

Posted on 2007-03-21
2
451 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
2 Comments
 
LVL 26

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now