AbstractSelect Databinding

Hi Newsgroup.

I have problems understanding the databinding of AbstractSelect. A Form is backed by an Item of properties. A Table is backed by a container of items. Ok so far, but why is a a combo or selectbox backed by a container of items and not just by an item? I think this will make things complicated without benefit.
It would be very cool if someone can help me understanding that. Maybe i missed something.

cheers
stefan

Hi,

If I understood correctly, the thing you missed is
setPropertyDataSource()
(vs.
setContainerDataSource()
).

A select usually needs multiple choices, hence selects use a Container, but the selected value(s) is backed by a Property. Container does not know about selected values, Property does not know about multiple choices.

Did that help at all?

Best Regards,
Marc