tags:

views:

59

answers:

0
+1  Q: 

t4 multiple select

I need to implement a multiple select in tapestry 4.1.

The example supplied in the component docs is pretty lame as it requires multiple components/properties to do one simple thing. I especially don't like the reliance on a @For component and its properties, or the need to map a boolean array back to the original options to derive the actual selection.

I prefer how the @PropertySelection component works and expected to acheive multiple selection functionality by supplying a list of options in the form of a selection model, and populate an Object array as a result of selection without intermediate processing.

There's also the contrib.MultiplePropertySelection, which renders a list of checkboxes. I'd like to do exactly this, except with a html select box.

Does anyone have a simpler methodology than that described in the documentation example?

Thanks.

related questions