On Wed, Dec 18, 2013 at 3:20 PM, MyScheme <katerc...@web.de> wrote:

> Hey,
>
> The Java code runs without any errors, but the InlineFrame sametimes loads
> the wrong pdf files. When i open the page the first time it always loads a
> File i deleted 13 days ago. I can’t even find it on my pc anymore... The
>

Sounds like a caching issue.
Clear the caches in your browser.
Also add: webResponse.disableCaching() in the code that delivers the PDF to
prevent the same problem in the future


> code is the standard code from git and the Folder contains only the right
> pdf.
>
>                 myInlineFrame = new DocumentInlineFrame("mypdf",
>                                 new FileResourceStream(
>                                                 "D:\\test\\mypdf.pdf"));
>
>                 theForm.add(myInlineFrame)
>
> The second Problem is that the InlineFrame is in the front. So when i add a
> DateField with a calender oder the InlineFrame the Calender opens behind
> the
> InlineFrame and is not visible. how can i change that?
>

Google: CSS z-index


>
> Sry for all these questions but I am a beginner and do not know anybody
> else
> to ask.
>
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Example-for-presenting-pdf-in-modal-window-tp1879547p4663108.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to