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: 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