0
votes

I have a Mobile Web app (for iphone) based on the Mobile controls of the Xpages extension library. In the app the user can search for pdf and other files in the nsf files. When the user clicks on a a filename in a view , I calculate the link like : servername/nsffilename.nsf/O/id/$FILE/filename This opens the correct pdf file, but the user then leaves the app. I would like to stay in the app.

I tried it with iFrames, which works fine in some browsers (IE), but not on the iphone (it only displays the first page , no way for scrolling in the pdf, no way to save the pdf file)

I also tried the download control ; but here also the user is leaving the webapp on the iphone

For an image we have a image placeholder , is something similar possible for pdf files ? a pdf placeholder ?

1

1 Answers

0
votes

No, this is standard mobile web app behaviour, nothing to do with XPages. By defalt the iphone pdf viewer registers its self to handle those file types. As you have mentioned an iFrame would work to display it (wit issues) but there is no in built XPage control to hande this.