velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kLy <>
Subject How to call a Java method with params from velocity?
Date Tue, 02 Dec 2008 10:29:11 GMT


I'm using velocity for Jira at the moment. Very noob to Velocity, but it
seems that every reference you write automatically gets the toString called?
So I'm not able to write: $customfield.getValue($issue) since it essentially
calls $customfield.getValue($issue.toString()) right? Which of course won't
be right.

My code is this:

#foreach ($cf in
which gives this error for the getValue statement: "is not a valid

The $cf and $issue references should be correct since the other methods get
called correctly.

View this message in context:
Sent from the Velocity - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message