Hi,
I have a datasource (via Spring DMI), that allows me to access JavaBean-objects of a certain class. At that class a field is defined. It's type is an enum.
Now my question: Is it possible to populate the picklist of the SelectItem that is generated for this field in a dynamic form connected to that datasource with the available constants from the enum definition? Right now I have to define the values at two different places: within the enum and within the datasource-definition (as the valueMap).
Thank your very much for your help.
Disclaimer: I am a SmartGWT newbie and I have searched the forum, the documentation, the examples and also Google for long hours...)
Your's
John
I have a datasource (via Spring DMI), that allows me to access JavaBean-objects of a certain class. At that class a field is defined. It's type is an enum.
Now my question: Is it possible to populate the picklist of the SelectItem that is generated for this field in a dynamic form connected to that datasource with the available constants from the enum definition? Right now I have to define the values at two different places: within the enum and within the datasource-definition (as the valueMap).
Thank your very much for your help.
Disclaimer: I am a SmartGWT newbie and I have searched the forum, the documentation, the examples and also Google for long hours...)
Your's
John
Comment