try this in velocity:

#set($int = 1)  ## creates an Integer object
#set($value = $int.parseInt($data.User.getTemp("name")))

/uwe





"Inandjo Taurel" <[EMAIL PROTECTED]>
15.09.2003 18:03
Bitte antworten an "Turbine Users List"

 
        An:     [EMAIL PROTECTED]
        Kopie: 
        Thema:  how to get a setTemp() as an int on a velocity screen?


hiyall,

i have a string set to a value on a java screen file like:

String x = data.getUser().setTemp("name",value);
How can i retrieve this as an int on a velocity screen since setTemp() 
returns an String?

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Reply via email to