Re: [SOLVED] Re: PropertyModel / PropertyResolver / Map or List access

2014-11-10 Thread Martin Grigorov
Hi, On Fri, Nov 7, 2014 at 10:39 AM, Patrick Davids patrick.dav...@nubologic.com wrote: Hi Sven, Hi Paul, thanx, now its working. I thought the PropertyModel/PropertyResolver will unpack the model-object itself, so there is no need to adress getObject by .object. Maybe a small note in

Re: [SOLVED] Re: PropertyModel / PropertyResolver / Map or List access

2014-11-10 Thread Boris Goldowsky
I would recommend against using .object inside a PropertyModel, at least if your application makes use of detachable models. When a component uses the property model in your example, new PropertyModel(MyPage.this, list.object[1].anyProperty) The model returned by MyPage.getList() will be

[SOLVED] Re: PropertyModel / PropertyResolver / Map or List access

2014-11-07 Thread Patrick Davids
Hi Sven, Hi Paul, thanx, now its working. I thought the PropertyModel/PropertyResolver will unpack the model-object itself, so there is no need to adress getObject by .object. Maybe a small note in javadoc could help others not running into this issue. So... All ways (mentioned in javadoc) are