this message in context:
http://www.nabble.com/how-to-translate-input-into-double-float-value-tf4611891.html#a13545254
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED
Hello,
Please guide me how i can translate input value into double or float. Thanks
-Imran Amjad
--
View this message in context:
http://www.nabble.com/how-to-translate-input-into-double-float-value-tf4611891.html#a13170402
Sent from the Tapestry - User mailing list archive at Nabble.com
Nick,
For a PropertySelection component housing strings... am I free to perform OGNL
arithmetic on those elements if they happen to be numeric strings?
I am wondering if I need a translator or if it is illegal to perform ognl
arithmetic on PropertySelection strings that happen to be 1, or 2..
You provide a translator. The framework provides one for Double etc:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/translator/
You can add more in your AppModule.java, like this ...
(I know this seems like overkill, but will likely be