[aida] Autoconversion issues

2 views
Skip to first unread message

Hilaire

unread,
Mar 1, 2015, 1:03:10 PM3/1/15
to ai...@aidaweb.si
Hi there,

I have been hit by the same issue exposed there:
http://forum.world.st/AIDA-Web-f122435.html

Other examples:

1/
In a field where you want number, say float:
if you enter a float ok
if you enter an integer, next input are coerced to integer and you can
not input float anymore (you can make a forced conversion in your model,
but it is wrong, because you may want your model to work with Float)
as it
2/
In a field you input ScaledDecimal, say 25.99s2
at next input, your field is set as 25.99s2, what is supped to
understand the user there?


IMHU, autoconversions will always bring issues.

Suggestion:
Refactor the autoconversion methods
Add a bloc attribute to WebFormElement to let the user processes the
conversion as wished

Thanks

Hilaire


--
Dr. Geo - http://drgeo.eu
iStoa - http://istoa.drgeo.eu


_______________________________________________
Aida mailing list
Ai...@aidaweb.si
http://lists.aidaweb.si/mailman/listinfo/aida
Reply all
Reply to author
Forward
0 new messages