* Igor Vaynberg:

> i  dont  realy  like  this... converted  input  should  only  be
> available after successful convert() validation step - which you
> are specifically disabling.

I understand your  point, but then what do you  propose to get the
selected values?

The  real  problem  is  that  FormComponent.getValue()  returns  a
String, that doesn't make sense for a CheckGroup.  We should maybe
change the signature to Object,  and return a List<Boolean> in the
case of the CheckGroup.  That way  one could have a way to inspect
the selected checkboxes, without calling convertValue().

WDYT?  I'm sure we can find a generic way to deal with this common
problem.  It's not just for me ;-)

BTW  the Javadoc  for FormComponent.getValue()  is far  from being
clear:  « Gets current value for a form component ».

Your comments are welcome,
-- 
     Jean-Baptiste Quenot
aka  John Banana Qwerty
http://caraldi.com/jbq/

Reply via email to