I have a quick question and a long question about velocity context.

1. Is it possible to get a handle to the current action through something
like $action ?

2. I'd like to run a method off my action.  Normally i'd do something like
this:

List someInstanceVariable;
(and have getters and setters for this)

So i'd be able to do something like:

$someInstanceVariable

I'd like to access another method that's not a getter or setter.

public String doSomething(Object someObject) {
 ...
}

And access like:

$doSomething($someObject)

But this doesn't work.

Is it possible to do this some way I don't know about ?

Thanks,
Ben.


This email and any attachments are strictly confidential and are intended
solely for the addressee. If you are not the intended recipient you must
not disclose, forward, copy or take any action in reliance on this message
or its attachments. If you have received this email in error please notify
the sender as soon as possible and delete it from your computer systems.
Any views or opinions presented are solely those of the author and do not
necessarily reflect those of HPD Software Limited or its affiliates.

 At present the integrity of email across the internet cannot be guaranteed
and messages sent via this medium are potentially at risk.  All liability
is excluded to the extent permitted by law for any claims arising as a re-
sult of the use of this medium to transmit information by or to 
HPD Software Limited or its affiliates.




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to