Yes, i can get the CompoundPropertyModel and it refers to the entity containing the calendar. So i was wondering if i should just get the object from the model and throw it in a PropertyResolver. But somehow I have the feeling this would not be the intended way, would it?

Can you debug onBeforeRender and see if CompoundPropertyModel refers to the original Panel's field containing the calendar?
Or model's object is already null?
 I tried to call getModel() in onBeforeRender() to get hold of the parent's
 model (the CompoundPropertyModel of the panel) which works. But when I
 call getModelObject, getModelValue or getValue I only recieve empty
Strings or null.


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



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

Reply via email to