Announcement Announcement Module
Collapse
No announcement yet.
SWF binding & conversion of fields - checkboxes tag Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • SWF binding & conversion of fields - checkboxes tag

    Hi,

    We decided to use BusinessTypes in our application these are types containing some formatting and validation logic. On our Model (form) we use only businessTypes (own types). This works fine since that spring can convert values from/to those types.

    However we have a problem with the usage of the checkboxes tag. In our jsp we have the following element:
    <form:checkboxes path="field1" items="${officetypes}"/>

    The items is a List of businessTypes. for those the converters are executed correctly

    Our model has the following field :
    private List<OfficeType> field1 = new ArrayList<OfficeType>();

    In case we submit the form and bind in this case field1 to our model , the converters are not executed ! The submitted values (Strings) are not converted to an OfficeType. Is there a way to provide correct conversion here?

    Thanks a Lot
    Axel

  • #2
    This is a bug in 2.0.5 which has been fixed in the webflow-2.0 maintenance branch and will be available in 2.0.6.

    Keith

    Comment

    Working...
    X