Hi,
it is possible to bind the same list of enums to many checklist
components inside one form?
My scenario is follow:
1 given are an enum:
enum A{ BA, BB, CA, CB, DA, DB}
2. the second enum split the enum A in more groups
private List<A> enums;
enum Group(A[]) {
B({BA, BB}},
C({CA,CB}),
D({DA,DB})};
3. Form:
<t:checklist encoder="enumAEncoder" model="GroupBModel"
selected="listOfA"/>
<t:checklist encoder="enumAEncoder" model="GroupCModel"
selected="listOfA"/>
<t:checklist encoder="enumAEncoder" model="GroupDModel"
selected="listOfA"/>
Actually on form submit all selected values froun GroupB and C are
ignored and the listOfA contains only values from GroupD.
Thanks
Eugen
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]