Skip to content

Set serialization per binding #70

@chrosim

Description

@chrosim

At the moment it is possible to setSerializer for non "default" Classes on the CE-Binder per Class only.
Let's assume we need two ComboBoxes with two different item Lists of the class CodeName.
To select the departureAirport and the arrivalAirport for a FlightRoute we bind the comboboxes to the departureAirportCode and arrivalAirportCode.

public class FlightRoute{
public String departureAirportCode;
public String arrivalAirportCode;
}

public class CodeName {
public String code;
public String name;
}
  1. DepartureAirport-ComboBox
  • List departureAirports = [{code="ABC", name="Departure ABC"}]
  1. ArrivalAirport-ComboBox
  • List arrivalAirports = [{code="ABC", name="Arrival ABC"}]

It is not possible to make sure the serializer would load the correct value per binding.

As a developer i would like to enable/set serialization for a specific binding.
As a alternative it would be nice to use the converter on a binding for the serialization.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions