Converter issue


I attach a custom converter to a dropdown component, the converter gets called for every item present in my option list attach to my dropdown…reading the documentation the converter should be invoke only for the value property of the dropdown…is there special to setup or this is a bug!



It looks like the same issue as described here:

Converters are for two way conversion.

During rendering all the option values are converted to a string to render the html tag. (NOTE: if wiring is involved, the rendering may also happen in the action request as well to resolve the wiring)

During any (action) form post the current value of the dropdown is converted from a string to the target data type before assigning it to the bound bean property.