velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wilson" <andrew.wil...@db.com>
Subject Usage question.
Date Tue, 18 Jan 2005 03:11:54 GMT
Id like to include the following code in my Velocity Template:

${request.getProperty(Request.ID)}

Unfortunately, this doesn't compile.

Is there a clever way I can do this with a Macro?
Since request is an instance of Request I would also be happy with

${request.getProperty(${request.ID})}

but that doesn't work either.

Any suggestions?

Kindest regards,
Andrew.


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message