|
Passing in an array as a Java function argument?: msg#00123jakarta.velocity.user
Is there a way in velocity to pass in an array list defined in Velocity as a function parameter? For example, can I have: #set ($arr = ["blah", "blah", "blah"]) #set ($result = $tool.foo($arr)) ? If I can do the aboved, what's the signature of the "foo" function of the tool instance $tool? Is it List, ArrayList, Object[], String[], or something else? -- William Lee (Will) | Sendmail Inc. Email: wlee@xxxxxxxxxxxx | http://www.sendmail.com Tel: (510) 594-5505 | |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Use of velocityCounts: 00123, Rich Baldwin |
|---|---|
| Next by Date: | Re: Passing in an array as a Java function argument?: 00123, Andy Lee |
| Previous by Thread: | Use of velocityCountsi: 00123, Rich Baldwin |
| Next by Thread: | Re: Passing in an array as a Java function argument?: 00123, Andy Lee |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |