This content has been marked as final.
Show 2 replies
-
1. Re: PDF rendering
saratkumarm Mar 9, 2010 5:14 PM (in response to saratkumarm)can anyone help me !!!
Its really urgent -
2. Re: PDF rendering
kblief.kblief.gmail.com Mar 11, 2010 10:11 PM (in response to saratkumarm)If I understand correctly you need 1 button to do 2 tasks. You could use an a4j:commandButton with a a4j:jsFunction.
<a4j:commandButton value="Some Task" action="#{backingBean.displayResultsInUi}" oncomplete="exportPDF();" reRender="uiSection"> <a4j:jsFunction action=#{backingBean.exportPdf} name="exportPDF" /> </a4j:commandButton>
I don't know if this is what you are looking for, but it may work.