Jean-Baptiste BRIAUD -- Novlog wrote:
>
> This is because it is generic, I don't know the type of v.
> It could either be an integer (the case I had that produced the bug)
> or any other thing.
>
You can use obj.toString() which would give the classname usually.
obj.toSource() gives the internal object states. But in general,
obj.getValue() works for textfield and a lot of other fields. But
getValue is deprecated for lots of fields like DateField, Selectbox etc.
You can maybe pass the value of the field along with the field object
itself, or at least send the method name for getting the value along
with the field object.
cheers,
skar.
--
--
The life so short, the craft so long to learn.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel