Re: how to translate input into double/float value

2007-11-02 Thread Imran Amajd
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

how to translate input into double/float value

2007-10-12 Thread Imran Amajd
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

Re: how to translate input into double/float value

2007-10-12 Thread Ken nashua
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..

Re: how to translate input into double/float value

2007-10-12 Thread Nick Westgate
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