You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Farrukh SATTOROV <fi...@gmail.com> on 2014/02/16 10:15:58 UTC

What is difference between setModel and setDefaultModel

What is difference between IGenericComponent#setModel(IModel<T> model) and
Component#setDefaultModel(IModel<T> model) in purpose for practical use.

-- 
Regards, Farrukh

Re: What is difference between setModel and setDefaultModel

Posted by Francois Meillet <fr...@gmail.com>.
in 6.13.0

Component#setDefaultModel(final IModel<?> model)
IGenericComponent#setModel(IModel<T> model);

The IGenericComponent implementations setter are typesafe.


François Meillet
Formation Wicket - Développement Wicket





Le 16 févr. 2014 à 10:15, Farrukh SATTOROV <fi...@gmail.com> a écrit :

> What is difference between IGenericComponent#setModel(IModel<T> model) and
> Component#setDefaultModel(IModel<T> model) in purpose for practical use.
> 
> -- 
> Regards, Farrukh