Most things do not take Set as an option because many components use
the index to determine the selection. Sets by definition are
un-ordered (and even if the underlying set is ordered, a reusable
component can't take that chance). Lists are supported by almost all
JSF elements.

If you insist on using sets, 1) you need to garuntee that your set is
ordered and will not change and 2) use a EL converter like [1]

[1] http://www.jroller.com/page/mert?entry=settolistpropresolver_for_jsf_el

On 12/14/06, Joris Wijlens <[EMAIL PROTECTED]> wrote:

Hi,

Why don't selectmany components accept java.util.Set and do they accept
java.util.List?

And what do I have to do if I don't want to change al my sets to lists?

Thanks anyway,

Joris wijlens

Reply via email to