Complications with loadable detachable models

2009-11-20 Thread bht
Hi It appears that I am fighting against the framework that limits my choices when I start using LDMs (LoadableDetachableModel). Many examples in the framework documentation don't use LDMs. For simplicity, they assume that the domain object e.g. person is available to a model in an instance

Re: Complications with loadable detachable models

2009-11-20 Thread Igor Vaynberg
initialize them lazily just like the model would private transient Foo foo; private Foo getFoo() { if (foo==null) { foo=...; } return foo; } -igor On Fri, Nov 20, 2009 at 10:54 AM, b...@actrix.gen.nz wrote: Hi It appears that I am fighting against the framework that limits my choices when