You mean item.setModel(new CompoundPropertyModel(item.getModel()));, right? ;)
And no wicket does not keep string references, it uses models so it won't have to. you are jut not using them correct. Maurice On Wed, Apr 2, 2008 at 1:58 PM, Java Programmer <[EMAIL PROTECTED]> wrote: > After all the answers, I start to think that maybe my question was a bit > wrong. > First I put all the hints you were provided into work eg: > item.setModel(new CompoundPropertyModel(item.getModelObject())); > > item.add(description = new MultiLineLabel(DESCRIPTION)); > but still have in session files (pm-null) the text which is provided > to MultiLineLabel from model (detachable, and next compound) - I start > to think that Wicket always will be keep states of it's components, so > it's not kept the CarPart object but just a strings from > MultiLineLabel. Am I right with that or not? > > The problem is that that files grows very fast (10MB is porobably a > limit becuse at that size it stops), and also what happens if another > user change the state of the object and write it into DB. > > Best regards, > Adr > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
