on 12-03-2007 8:33 PM
Post Author: passionlessDrone
CA Forum: General
Hello friends -
I'm going crazy trying to reckon a way to spawn a new browser from a hyperlink field with the java info view / tomcat set up. Based on some recommendations provided for .NET users, I went ahead and modified viewDHTMLReport.jsp with the following line, diretly after the CrystalReportInteractiveViewer was created:
viewer1.setHyperlinkTarget("_blank");
I have confidence this is being called, as I mispelled the function name on my first try and got a 505 returned from Tomcat indicating bad method name, etc. Tragically, even with a valid method name, the page continues to render 'target="_self" no matter what value is passed in as a hyperlink target. I have also tried modifiying DHTMLViewer.jsp and ADHTMLViewer.jsp with similar calls directly after the setProductLocale call, but the same results.
Is there a chance that processHttpRequest in the Viewer just doesn't pay attention to what gets set in setHyperlinkTarget and will return "_self" no matter what?
It also seems a bit naughty that it appears you have to globally set hyperlinks to either spawn new windows or not.
Any insight or advice is greatly appreciated!
Take care!
-pD
Post Author: passionlessDrone
CA Forum: General
Bump.
Surely someone has either solved this problem or deemed it impossible.
Thanks!
- pD
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.