i'm using webwork 1.4 with velocity and don't know how to access a particular method
of the action from velocity. the scenario is as follows
a collection is made available to velocity: class myAction extends ActionSupport {
public Collection getCollection( ) ...
public String someMethod(Object obj) ...
}
while traversing the collection in velocity with: #foreach ($obj in $collection)
i would like to do some work with $obj using a method i have in myAction: myAction.someWork(Object obj).
the question is how do i refer to the action from velocity? i tried to guess the name with something like: $this.someWork($obj) $action.someWork($obj)
but without luck.
any help will be deeply appreciated.
Gerardo.
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork