here is a blog from Adam Winer, jsf eg

http://sfjsf.blogspot.com/2006/03/usings-sets-with-uidata.html



On 12/15/06, Andrew Robinson <[EMAIL PROTECTED]> wrote:
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



--
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Reply via email to