It seems that form:checkboxes only uses converters for the path-elements of the model but not for the items-elements. Having the same list of beans in the items property and the path property does not generate any selected checkboxes.
Description
It seems that form:checkboxes only uses converters for the path-elements of the model but not for the items-elements. Having the same list of beans in the items property and the path property does not generate any selected checkboxes.
Juergen Hoeller added a comment - 03/Dec/09 06:53 PM Could you please give a concrete example for form:checkboxes usage that doesn't work in such a case? I'm having trouble reproducing this...
Juergen
Here is a demo project which demonstrates the problem. As you can see from the log the correct objects are created but the checkboxes tag is unable to compare the selected values.
I would expect the checkboxes tag to use the converter to generate a string representation of the object and use it for comparison.
Daniel IfCore added a comment - 08/Dec/09 03:01 PM Here is a demo project which demonstrates the problem. As you can see from the log the correct objects are created but the checkboxes tag is unable to compare the selected values.
I would expect the checkboxes tag to use the converter to generate a string representation of the object and use it for comparison.
Juergen Hoeller added a comment - 14/Feb/10 06:18 PM Fixed along with SPR-6799: Converter/Formatter lookup had an issue in the multi-list case.
Juergen
Could you please give a concrete example for form:checkboxes usage that doesn't work in such a case? I'm having trouble reproducing this...
Juergen