Re: non-serializable objects to feed a DropDownChoice

2019-08-28 Thread Martin Grigorov
Hi, Is there a problem in using LoadableDetachableModel> for the DropDownChoice ? Use this constuctor: public DropDownChoice(String id, IModel model, IModel> choices, IChoiceRenderer renderer) On Wed, Aug 28, 2019 at 10:56 PM René Stolle wrote: > Hello there, > > my domain classes are mostly

Re: Streaming a PDF into an iFrame

2019-08-28 Thread Benjamin Chew
Yes, they are the full PDFs that I'm expecting. Ben On Wed, Aug 28, 2019 at 12:34 PM Lon Varscsak wrote: > If it's closing the connection on the PDF pre-maturely, are you getting the > FULL PDF downloaded? > > -Lon > > On Wed, Aug 28, 2019 at 10:14 AM Benjamin Chew > wrote: > > > Hi Sven, >

Re: non-serializable objects to feed a DropDownChoice

2019-08-28 Thread Francois Meillet
Why don't you use a pojo that could be a simplified view of your domain class (dto) ? François > Le 28 août 2019 à 20:49, René Stolle a écrit : > > Hello there, > > my domain classes are mostly not serializable. Making use of > LoadableDetachableModels I have no problems execpt of one

non-serializable objects to feed a DropDownChoice

2019-08-28 Thread René Stolle
Hello there, my domain classes are mostly not serializable. Making use of LoadableDetachableModels I have no problems execpt of one situtation: I couldn't find an easy solution to place a list of domain objects in a DropDownChoice without getting serialization issues. The examples I found

Re: Streaming a PDF into an iFrame

2019-08-28 Thread Lon Varscsak
If it's closing the connection on the PDF pre-maturely, are you getting the FULL PDF downloaded? -Lon On Wed, Aug 28, 2019 at 10:14 AM Benjamin Chew wrote: > Hi Sven, > > Hmm... so this seems to be a problem only on specific browsers. > > I'm seeing this on: > - Google Chrome Version

Re: Streaming a PDF into an iFrame

2019-08-28 Thread Benjamin Chew
Hi Sven, Hmm... so this seems to be a problem only on specific browsers. I'm seeing this on: - Google Chrome Version 76.0.3809.100 (OS X Mojave & Win 7) - Safari Version 12.1.2 (OS X Mojave) - IE 11 Version 11.0.135 (Win 7) And not seeing this on: - Firefox Quantum 68.0.2 (OS X Mojave) -

Re: Streaming a PDF into an iFrame

2019-08-28 Thread Sven Meier
Hi Ben, which browser? We had long time problems with IE stopping requests an re-requesting resources without reason. Sven Am 28. August 2019 16:18:23 MESZ schrieb Benjamin Chew : >Thanks, Sven. > >The weird thing is that this is happening during my testing, and I’m >not navigating away from

Re: Streaming a PDF into an iFrame

2019-08-28 Thread Benjamin Chew
Thanks, Sven. The weird thing is that this is happening during my testing, and I’m not navigating away from the page at all... Ben > On Aug 27, 2019, at 11:34 AM, Sven Meier wrote: > > Hi Benjamin, > > this just means that the browser closed the connection before the pdf was > fully

Re: Re: Wicket Spring boot - use spring devtools

2019-08-28 Thread Martin Grigorov
On Wed, Aug 28, 2019 at 12:04 PM Per Newgro wrote: > Hello Martin, > > the problem is that i assign a model in request cycle metadata by using > the key > > public class IdentityInstance extends MetaDataKey> { > > public static IdentityInstance KEY = new IdentityInstance(); > >

Aw: Re: Wicket Spring boot - use spring devtools

2019-08-28 Thread Per Newgro
Hello Martin, the problem is that i assign a model in request cycle metadata by using the key public class IdentityInstance extends MetaDataKey> { public static IdentityInstance KEY = new IdentityInstance(); private IdentityInstance() { super(); } }

Re: Wicket Spring boot - use spring devtools

2019-08-28 Thread Martin Grigorov
Hi, This is how Spring Dev Tools work. When it detects a change it removes the old application class loader and creates a new one. Why this is a problem for you ? I personally prefer to use DCEVM (https://dcevm.github.io/). It is able to redefine a specific class in the current class loader.

Wicket Spring boot - use spring devtools

2019-08-28 Thread Per Newgro
Hello *, I migrate my current wicket app to spring boot version (https://github.com/MarcGiffing/wicket-spring-boot). So far it was straightforward. But now i experience a problem with inclusion of org.springframework.boot