cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Brant" <>
Subject Re: DO NOT REPLY [Bug 30351] - [PATCH] BooleanField - Convert String to Boolean in setValue
Date Wed, 28 Jul 2004 00:40:24 GMT
Thanks.  That does work.  I'll close the bug.

However, it's rather a pain in the neck to have to a specify a converter
(excuse me, convertor) for all the non-string form fields.  A patch to fix
that is attached (should I open another Bugzilla bug?).  

ValueJXPathBinding has been modified so that if the Widget implements
DataWidget and no converter is defined on the binding, the converter from
the Widget is used.  BooleanField now also implements DataWidget.  

I can't say I'm familiar enough with the code to know if this is the best
solution, but it works for me.  


> ------- Additional Comments From  2004-07-27 22:09
> -------
> Isn't this the task of the convertor? See
> for
> more
> info. If my assumption is correct, please close this bug marking it
> Jörg

NEU: WLAN-Router für 0,- EUR* - auch für DSL-Wechsler!
GMX DSL = supergünstig & kabellos
View raw message