I have an IFrame as part of my web application which is opening a PDF form specified from a XPD file. But the PDF form takes over then entire browser not just the IFrame I wanted to load it in losing the rest of the application's structure. Is there any way to target the current Iframe?
I´ve done it using an IFRAME declared on a JSP page. Just set the properties WIDTH and HEIGHT to make the IFRAME the size that you want... and set the scrolling property to be AUTO... in order to let you see the whole document with scroll bar , if needed...
What i did was to get a login page to let the user open a specific pdf... my page had a form where the user should enter the password to access the form...the form had two attributes ... "Action" was set to the address whre the servlet will render the pdf ... "target" was set to the IFRAME´s name...
Just put the iframe on a specific area on the page...
Thank you for your response. However I didn´t figured out the scheme you used, yet.
You first open a pdf file and then makes a call to merge the xdp, or you open the xdp with the data on it? Are you using Acrobat Reader or Acrobat Professional? or Are you merging the data on the server using livecycle forms?
If you can, I would appreciate a simple example (email@example.com)
"the pdf generated from there" => generated on the servlet that was called. the merge is done using formserver.
the action of the form that i refer above is the "action" event of the jsp page that has the IFRAME. the click event of the button that is on the jsp page goes to the servlet and merges the data into the xdp file (therefor generates the pdf file) and writes it back into the IFRAME instead of using the whole jsp area.
I dont have any sample here with me (just the whole project). i'll make a sample as soon as possible and send it to the mail you gave me.
I am having the same problem. We recently upgraded to Acrobat Reader 8. Previously when a link is clicked the document in question would merge and open a new window with a custom toolbar and the resulting PDF displayed in an IFRAME.