Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 1.0 RC1, 1.0 RC2
-
Fix Version/s: 1.0
-
Component/s: Tag Library
-
Labels:None
-
Application server:tomcat-5.0.28
Description
I just started using the displaytag library, together with tomcat, webwork and velocity. To get started, I took parts of the "openreports" package and modified them for a different application domain. I was having trouble getting hyperlinks to show up in generated tables, and after trying everything else, I tried using the same displayTag.jar file that the openreports package was using (beta1). Then it worked. I tried it again with displayTag-rc1.jar and rc2.jar, and the links didn't show up again.
The code in question was copied from the openreports file ListCharts.vm and modified:
$req.setAttribute("reportCharts", $reportCharts)
#bodytag( Table "name=reportCharts" "class=displayTag" "sort=list")
#tag( Column "property=name" "href=editChart.action?command=edit" "paramId=id" "paramProperty=id" "title=Name" "sortable=true" "headerClass=sortable")
#tag( Column "property=description" "title=Description" "sortable=true" "headerClass=sortable")
#tag( Column "title=" "href=deleteChart.action" "value=Remove" "paramId=id" "paramProperty=id")
#end
The href hyperlinks only were displayed when running with the displayTag-1.0b.jar file, but not with the rc1 or rc2 jar file.
Thanks!
Allan
The code in question was copied from the openreports file ListCharts.vm and modified:
$req.setAttribute("reportCharts", $reportCharts)
#bodytag( Table "name=reportCharts" "class=displayTag" "sort=list")
#tag( Column "property=name" "href=editChart.action?command=edit" "paramId=id" "paramProperty=id" "title=Name" "sortable=true" "headerClass=sortable")
#tag( Column "property=description" "title=Description" "sortable=true" "headerClass=sortable")
#tag( Column "title=" "href=deleteChart.action" "value=Remove" "paramId=id" "paramProperty=id")
#end
The href hyperlinks only were displayed when running with the displayTag-1.0b.jar file, but not with the rc1 or rc2 jar file.
Thanks!
Allan