问题
Using BIRT 4.2
My database (Postgresql) has many fields with hyperlinks in it and when I am displaying the reports via BIRT report viewer, all the fields which have hyperlinks are displayed as normal text in the BIRT report viewer. I want the hyperlinks to be retained at the BIRT report viewer. How can I achieve this. Please suggest.
回答1:
Select the corresponding cell and go to the hyperlink property and click on edit and select the URI radio button and click on the javascript syntax button and you will find your column bindings from that select the value of the column and finally you will get the hyperlinks
回答2:
your url should be like this (http://www.+row["Title"]+.com) if your Title field having google means then your string should be like this ("http://www.google.com")
.if you didn't append any HTTP means then it will look for the file which is in webcontent
folder of your birt.war
来源:https://stackoverflow.com/questions/18193664/how-to-get-hyperlinks-in-birt-report-viewer