Re: [Wicket-user] CompoundPropertyModel in 1.2-beta2

2006-03-23 Thread Johan Compagner
yes this is wrong.I don't know why that worked in 1.1 because i also believe it shouldn't have worked there also but maybe this behaviour was onlyintroduced in 1.2If you give the component its onw model. Then that component is the Root model object And if that is the case a getModelObject() call t

Re: [Wicket-user] CompoundPropertyModel in 1.2-beta2

2006-03-23 Thread karthik Guru
great explanation on how CompoundPropertyModel works... -- Forwarded message -- From: Igor Vaynberg <[EMAIL PROTECTED]> Date: Jan 19, 2006 6:36 AM Subject: Re: [Wicket-user] IModel To: wicket-user@lists.sourceforge.net the CompoundPropertyModel is one of the trickest to understan

[Wicket-user] CompoundPropertyModel in 1.2-beta2

2006-03-23 Thread Steve Knight
Before I upgraded to Wicket 1.2, I was doing something like this:CompoundPropertyModel model = new CompoundPropertyModel(summary);add(new Label("surfaceCount", model));add(new Label("unknownCount", model)); And Wicket would properly bind the properties of my model to the labels.  However, after upg