MultiSelectConverter JpaContainer,for ListSelect/TwinCol/Table FieldGroup b

Here is the model entity:[code]

public class BusinessEvent{
private Set rentedLocations = new HashSet(0);
private Organization organization;

@ManyToMany(fetch = FetchType.EAGER)
public Set<Location> getRentedLocations() {
    return this.rentedLocations;

public void setRentedLocations(Set<Location> rentedLocations) {
    this.rentedLocations = rentedLocations;

@ManyToOne(fetch = FetchType.EAGER)
@JoinColumn(name = "organization_id")
public Organization getOrganization() {
    return this.organization;

public void setOrganization(Organization organization) {
    this.organization = organization;

I Have to bind a multi selection capable component to a property of a bean that is a collection. Normally with a Bean Item Container i would do this without any problem, but in case of JPAContainer we must for that component a Converter.

For Combobox that is only single selection i could set a SingleSelectConverter(comboBoxComponent)

private ComboBox organization;
private BeanFieldGroup<BusinessEvent> fieldGroup;
private JPAContainer<Organization> organizations;

organizations = JPAContainerFactory.makeJndi(Organization.class);
organization.setConverter(new SingleSelectConverter<Organization>(organization));

For a multi select component like this table

    private Table locationTable;

 locations = JPAContainerFactory.makeJndi(Location.class);

i cant do this for a type mismatch

        locationSelect.setConverter(new MultiSelectConverter<Location>(locationTable));

i dont know if this works for me …

        locationTable.setConverter( Location.class);

I’ve a tree and I added a ValueChangeListener.
When I enter the ValueChange code if I get the changed value from tree.getValue I allways get the root node if I use event.getProperty.getValue I get the correct selected value.
However I need to get the value also elsewhere and I got allways the wrokg value.
Where’s the problem ?