• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

open a link in PDF using custom tags

 
Vibha VibhaJ
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to open links in PDF using custom tags in jsp.
Are there any taglibs already available for the same
 
William P O'Sullivan
Ranch Hand
Posts: 859
Chrome IBM DB2 Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Links within a PDF ?

That is all handled by the Adobe PDF reader plugin or application.

WP
 
Vibha VibhaJ
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry i was not clear.
IN jsp i have a link and when someone clicks on the link,action is to open the pdf with relevant info.
Ex: Link for Help should open a user manual.
 
Paul Clapham
Sheriff
Posts: 20983
31
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just produce an ordinary HTML link to the URL where the PDF is located. You really don't need custom tags to do that.
 
Vibha VibhaJ
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It sounds like you need to consult the documentation of that tag lib, or its author, absent that.
 
Vibha VibhaJ
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
am able to open pdf/form in same window.I need to open in new window which is where am struggling
 
Vibha VibhaJ
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jsp :<pg:submitbutton name="View=selectDetails " title="Action"
/>
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64718
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer wrote:It sounds like you need to consult the documentation of that tag lib, or its author, absent that.
 
Vibha VibhaJ
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The author is no more with project and I just came on board.
If there is any other libs that are available also,please suggest

Thanks,
vibha

TLD :

 
Vibha VibhaJ
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way to use java script embedded in custom tags.If so how can i do it.

<pg:submit property="index" name="View/Edit =selectDetails" title="Action" buttontypes="SKIP" />
/>
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic