wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grigorov <mgrigo...@apache.org>
Subject Re: Example for presenting pdf in modal window
Date Wed, 18 Dec 2013 13:26:32 GMT
On Wed, Dec 18, 2013 at 3:20 PM, MyScheme <katercrew@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-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message