Hi Stefan, I would recommend using the PickList control, its excelent for this kind of thing. It doesn't have native Cayenne support however so you need to write a little code.
regards Malcolm Edgar On Sun, Apr 12, 2009 at 1:02 AM, Stefan Klein <[email protected]> wrote: > Hello, > > i'm building my first a small web application with click & cayenne, it's > basicly a relativ simple database frontend. > > On one page i'd like to use a multiselect or a field of checkboxes (not so > sure yet) to represent a many to many relation. In Cayenne I defined a > "flattened relationship" as described at > http://cayenne.apache.org/doc20/flattened-relationships.html. > > I tried PropertySelect from the extras.cayenne package but it doesn't support > Multiselect. With QuerySelect I get the multiselection field rendered but i > don't know how to save the selected values. > > Did i miss something in the documentation, is there any example of using > multiselect with cayenne? > > If i decide to use a field of checkboxes for this, best aproach would be to > implement an own class which handles the complete field of checkboxes like > the select class handles the selection field, right? > > thanks & regards, > Stefan Klein > -- > Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: > http://www.gmx.net/de/go/multimessenger01 >
