Just produce an ordinary HTML link to the URL where the PDF is located. You really don't need custom tags to do that.
Joined: Oct 30, 2009
Link we are using is from a custom taglib and based on certain bus needs,link should open a pdf doc sometimes and in other cases open new form for user in new window.
I need to know how can i extend the custom taglib to handle the link to open in new window /pdf.
I have to use the existing taglib for the link.
Vibha VibhaJ wrote:The author is no more with project and I just came on board.
If there is no documentation, and no one to consult on this, then you will need to study the source code of the tag library. Sounds like you might want to introduce a new attribute that controls whether to show a PDF, or whether to open another page.