i think the best place to do this is actually in
ivalidationerror.geterrormessage() and pass in an additional argument that
is some iconverter { String toString(Object o); }is it too late to change that interface? -igor On 9/25/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > right, that is what i meant also > > -igor > > > On 9/25/07, Eelco Hillenius <[EMAIL PROTECTED] > wrote: > > > > On 9/25/07, Gerolf Seitz <[EMAIL PROTECTED] > wrote: > > > my proposed solution can be found at [0]. > > > basically, iterate over all error variables and convert the variables, > > that > > > are of type FormComponent#getType, using the FormComponent's > > converter. > > > > > > [0] http://www.papernapkin.org/pastebin/view/4228 > > > > How about turning it around and doing something like > > getConverter(value) for all the values in there? Then it would work > > for all the variables in there, even if they are not the same type of > > the component. > > > > Eelco > > > >
