Read https://cwiki.apache.org/WICKET/working-with-wicket-models.html

Be careful on the static vs. dynamic part ;-)

On Sun, Dec 4, 2011 at 8:54 PM, cosmindumy <cosmind...@yahoo.com> wrote:
> It works with
> columns.add(new PropertyColumn<User>(new ResourceModel("name.name",
> "Default"), "age", "age"));
>
> but I don't understand why it didn't find property with the first variant.
>  columns.add(new PropertyColumn<User>(new Model<String>(new
> ResourceModel("name.name", "Default").getObject()), "age", "age"));
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Internationalization-on-panels-tp2299768p4157887.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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

Reply via email to