Hi,
this works:
public TestPanel(final String id, final TaskModel model) {
super(id, new CompoundPropertyModel(model));
add(new AttributeModifier("class", true, new PropertyModel
(model, "status") ));
...
}
when replacing the "model" new PropertyModel(model, ...) with
"getModel()" or "getModelObject()", this does not work because I'm
working on the properties of the CompoundPropertyModel then (at least
I think so). I think PropertyModel should be smart enough to dig into
CompoundPropertyModels. At least I can't imagine a reason why it
shouldn't...
Also I think BoundCompoundPropertyModels should be able to bind to an
AttributeModifier which is not possible currently...
Regards,
Ralf
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop