I'm new to using the display tag library so forgive me if this question as been answered already. I've searched the archive and could not find if this has been asked before.

I would like to have the table heads linked to another action. So if you click on a table head it takes you to another page.

The problem with current code below is that each cell in the particular column shows up hyperlinked. I want only the table head for that column to be hyperlinked.

<display:table name="sessionScope.VitalsMain" border="2" sort="list" cellpadding="5" cellspacing="2" pagesize="3" defaultsort="1" defaultorder="descending"> <display:column property="encounterdate" title="Date" sortable="true" headerClass="sortable"/> <display:column property="weight" title="Weight" url="/VitalsBP/view/PlotBPWeight.jsp" />
 <display:column property="height" align="center" />
 <display:column property="bmi" align="center" title="BMI"  />
<display:column property="bsa" align="center" title="BSA" href="/VitalsBP/view/BSA.htm" /> <display:column property="bp" align="center" title="BP" href="/VitalsBP/BPMain.do" /> <display:column property="pulse" align="center" title="Pulse" href="/VitalsBP/view/Pulse.htm" /> <display:column property="rr" align="center" title="RR" href="/VitalsBP/view/RR.htm" /> <display:column property="temp" align="center" title="Temp" href="/VitalsBP/view/Temp.htm" />
 <display:column property="o2sat" title="O2Sat%" align="center" />
 <display:caption>This is the table caption</display:caption>
 <display:setProperty name="paging.banner.placement" value="bottom" />
</display:table>

Can anyone suggest what I should be doing?

Thanks,
-Joe Yuen


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to