setdefaultmodel() -igor
On Thu, Jul 22, 2010 at 2:58 PM, Erik Brakkee <erik.brak...@gmail.com> wrote: > HI all, > > > I have a detachable model that I want to set as the model of a page so that > it is properly detached. > There used to be setModel(). But how should I do this now? > > I cannot use the superclass constructor because the detachable model can > only be computed after construction of the page because it depends on an > injected variable. > > Also, setDefaultModel() shows me a huge warning in the javadocs. Also, > setModelImpl() cannot be accessed. > > What is the correct solution here? > > Cheers > Erik > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org