The wrap model for the compound property model implements both
IInheritableModel and IAssignmentAware. The
AttachedCompoundPropertyModel wraps itself in both these models.
Shouldn't this be done with the nested compound propertymodel instead?

i.e.:

public IWrapModel wrapOnInheritance(Component component) {
        return CompoundPropertyModel.this.wrapOnInheritance(component);
};

public IWrapModel wrapOnAssignment(Component component) {
        return CompoundPropertyModel.this.wrapOnInheritance(component);
};

The latter is a bit strange as the compound property model itself is
not assignment aware.

Martijn

--
<a href="http://www.thebeststuffintheworld.com/vote_for/wicket";>Vote</a>
for <a href="http://www.thebeststuffintheworld.com/stuff/wicket";>Wicket</a>
at the <a href="http://www.thebeststuffintheworld.com/";>Best Stuff in
the World!</a>

Reply via email to