cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Johnston <jason.johns...@Intrado.com>
Subject Re: [cforms] enabling all widgets to listen to value changed events
Date Wed, 14 Jul 2004 17:38:08 GMT
On Wed, 2004-07-14 at 08:10, Tim Larson wrote:
> On Wed, Jul 14, 2004 at 12:41:36PM +0000, Joerg Heinicke wrote:
> > I have a form where for legal and natural persons different widgets have to be
> > presented. I implemented it using a union widget and storing the persontype on a
> > field with datatype ineger, the value is bound to a bean. To make this value
> > usable in the union's case widget it must be transformed into a string. So my
> > form definition looks like the following:
> 
> Btw, Do you have ideas on how we should lift the "string" type restriction?

Don't all field widgets already have a convertor whose sole purpose is
to convert the field's internal datatype to/from a string for sending to
the client?  Why not reuse that convertor to get a string representation
of the case widget's value?

Mime
View raw message