Hi

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
$custfields)&customfield_$cf.getIdAsLong()=$cf.getValue($issue)#end
which gives this error for the getValue statement: "is not a valid
reference"

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

Thanks!
-- 
View this message in context: 
http://www.nabble.com/How-to-call-a-Java-method-with-params-from-velocity--tp20789552p20789552.html
Sent from the Velocity - User mailing list archive at Nabble.com.


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

Reply via email to