Autoconversion issues

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Autoconversion issues

HilaireFernandes
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
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Loading...