-
15. Re: Open PDF in a new window
jflint Dec 1, 2010 4:48 PM (in response to juangon)Juan,
Thank you for tip. l'll try your approach.
-
16. Re: Open PDF in a new window
jflint Dec 1, 2010 5:38 PM (in response to jflint)Nope.
Did not work.
Can you confirn this solution works in your application with IE and Reader 10?
-
17. Re: Open PDF in a new window
feuyeux Dec 1, 2010 9:42 PM (in response to ilya_shaikovsky)Of course, I tried to use both of them and just h tag return the file downloading.
Would you please provide a reasonable answer standing on the framework or lifecycle.
Thank you very much.
-
18. Re: Open PDF in a new window
jflint Dec 2, 2010 9:34 AM (in response to feuyeux)Sorry, did not get it. Answer for what?
-
19. Re: Open PDF in a new window
feuyeux Dec 2, 2010 9:42 PM (in response to jflint)Hi Yamshchikov,
What I mean is if we use <h:commandLink> as the download button, when we click it at the page, we can gain the download popup window.
But if we use <a4j:commandLink>, when we click it, we will gain the pdf content in the page.
Would you please provide a reasonable answer standing on the framework or lifecycle.
Thank you very much.
BR,
Lu H.
-
20. Re: Open PDF in a new window
jflint Dec 3, 2010 11:56 AM (in response to feuyeux)Please see my post on the first page (#7)
I'm using <h:commandButton> and JavaScript to open new window and redirect PDF output stream to this window.
-
21. Re: Open PDF in a new window
feuyeux Dec 6, 2010 2:38 AM (in response to jflint)Hi Andrey,
Thank you for your reply.
Please see my descripition carefully, It's clear that <h:commandLink> can work well.
Your beaking bean method in#7 I have done too as the same!
Would you please test your code by using <a4j:commandLink> instead h one?
And please explain how different the both in lifecycle.
-
22. Re: Open PDF in a new window
jflint Dec 6, 2010 11:19 AM (in response to feuyeux)If <h:commandLink> works well, what is the problem?
I have <h:commandButton> working fine , so there is no reason to change the code.
-
23. Re: Open PDF in a new window
feuyeux Dec 6, 2010 10:21 PM (in response to jflint)1.a4j component can work under the asynchrous environment.
2.I wonder to know the different dealing with the both.
that's ok if the dicussion is finished.
-
24. Re: Open PDF in a new window
fiimage Nov 19, 2013 10:21 PM (in response to feuyeux)i think you can make it happen. here are some vb sample codes you may use to set the button in a browser and open a pdf document.
-
25. Re: Re: Open PDF in a new window
arronlee Feb 23, 2014 10:20 PM (in response to fiimage)Hi, fifdsf.
I agree with you. But I wonder how did you set the button in a browser and open PDF files? Have you built another PDF reader by yourself?
Best regards,
Arron