Palette is incompatible with ListMultipleChoice in its use of the model
-----------------------------------------------------------------------
Key: WICKET-2843
URL: https://issues.apache.org/jira/browse/WICKET-2843
Project: Wicket
Issue Type: Bug
Reporter: Frank van Lankvelt
Palette, like the listmultiplechoice component, modifies the object (a list)
in-place. Both components have the same behavior in their updateModel
documentation, but the implementation differs. Whereas ListMultipleChoice
invokes getModel().setObject(), Palette uses setDefaultModelObject(). This has
the consequence that it never invokes the setObject method as that is guarded
by a model comparator.
Suggested fix is to use the same logic in both updateModel implementations.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.