Thats how all formcomponents work.
If you dont set a type and it cant resolve it themselfs or the type is
resolved to a string then convertValue() is used and not the
converter. If you want a converter to be called on a string you have
to set the type yourself.
On 4/5/08, Jan Kriesten [EMAIL
Hi,
is there a reason why AEL assumes type String by default and doesn't use the
ConverterLocator on the ModelObject to create the label + read/write the Model?
String should only be a fallback if no IConverter could be found?
Best regards, --- Jan.
Regardless of the reason (I don't know it), you can use a model wrapper
to circumvent this.
Search for ModelWrapper in earlier posts.
Regards,
Erik.
Jan Kriesten wrote:
Hi,
is there a reason why AEL assumes type String by default and doesn't
use the ConverterLocator on the
hi erik,
Regardless of the reason (I don't know it), you can use a model wrapper
to circumvent this.
you don't need a wrapper if you set the type on the ael - that's why i'm curious
why the converterlocator isn't used in the first place.
best regards, --- jan.