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?

If your data is actually an int, using an Integer rather than a String may be easier. Otherwise, you could put an Integer into the Context and do


$integer.valueOf($name).intValue()

Or, you could use a pull tool.

Eric


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



Reply via email to