Good day everybody,
My code look as follow. What I want to do is: I generate a pdf-file in run-time
and put it under a dir in server-side, assumed under "c:\temp\myfile.pdf". If
one clicks the commmanlink, the PDF-file will be opened in a new browser window
with tool-bar which contains save, print etc.
My code look as follow. And I want to know how can I write the function
showPDF() in my backing bean.
Or one can do this in an other way?
Thanks
Thomas
myJSF.xhtml
*************
...
<t:commandLink id="csvDownload" value="File download"
action="#{fileBean.showPDF }" immediate="true"></t:commandLink>
...
MyBean.java
*************
...
showPDF(){
...
}
...
---------------------------------
NEU: Fragen stellen - Wissen, Meinungen und Erfahrungen teilen. Jetzt auf
Yahoo! Clever.