You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by "raju.ch" <ra...@gmail.com> on 2011/11/11 05:33:21 UTC

What is the difference between Model , PropertyModel,CompoundPropertyModel?

Could someone please explain me the difference between Model ,
PropertyModel,CompoundPropertyModel?

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/What-is-the-difference-between-Model-PropertyModel-CompoundPropertyModel-tp4030452p4030452.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: What is the difference between Model , PropertyModel,CompoundPropertyModel?

Posted by "raju.ch" <ra...@gmail.com>.
yeah..thats very good material...I've understood it..thanks

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/What-is-the-difference-between-Model-PropertyModel-CompoundPropertyModel-tp4030452p4030480.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: What is the difference between Model , PropertyModel,CompoundPropertyModel?

Posted by Steve Swinsburg <st...@gmail.com>.
Hi,

There is some documentation about models on the wiki:
https://cwiki.apache.org/WICKET/working-with-wicket-models.html

cheers,
Steve

On 11/11/2011, at 3:33 PM, raju.ch wrote:

> Could someone please explain me the difference between Model ,
> PropertyModel,CompoundPropertyModel?
> 
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/What-is-the-difference-between-Model-PropertyModel-CompoundPropertyModel-tp4030452p4030452.html
> Sent from the Users forum mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: What is the difference between Model , PropertyModel,CompoundPropertyModel?

Posted by Clint Checketts <ch...@gmail.com>.
Model is like a box. It is just a container. Put your object in and get it
back out.
PropertyModel lets you put an object in the box and always lookup a value
on that object, and set that value
CompoundPropertyModel merely removes the string setting which value is
pointing to the object and uses the Wicket:id of the corresponding
component to reference the property

The examples Steve linked in the wiki are great.

-Clint

On Thu, Nov 10, 2011 at 10:33 PM, raju.ch <ra...@gmail.com>wrote:

> Could someone please explain me the difference between Model ,
> PropertyModel,CompoundPropertyModel?
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/What-is-the-difference-between-Model-PropertyModel-CompoundPropertyModel-tp4030452p4030452.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>