why not? convertinput() will cascade down to all components that need them.
-igor On Wed, Aug 4, 2010 at 12:03 AM, Joseph Pachod <[email protected]> wrote: > Igor Vaynberg wrote: >> >> visit all the children, check if they are a FormComponent and call >> convertinput() followed by getconvertedinput() >> >> -igor >> > > hi > > thanks igor > > we thought of that, but the issue is that we need to handle the > getconvertedinput > > For example, if I've a ContactListEdit, with each item having 2 TextFields > (on firstname and lastname for example), then just calling getConvertedInput > would'nt be enough. Each item have some getConvertedInput doing something > like "return new Contact(firstnameEdit.getConvertedInput(), > lastnameEdit.getConvertedInput())". > > or am I missing something ? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
