struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wild_oscar <mig...@almeida.at>
Subject [S2] Result annotation - possibility to pass method as parameter?
Date Mon, 17 Dec 2007 12:56:52 GMT

When using Result annotations to configure Actions, is it possible to pass
the method as a parameter in the actionchainresult?

Say you have one action and want to chain it to another action. You use:

@Result(name="send",type=ActionChainResult.class,value="actionName")

Unfortunately, this will send you to the execute() method of actionName. How
can you go to another method? Something like:
@Result(name="send",type=ActionChainResult.class,value="actionName",params=
{"method,anotherMethod"}).

-- 
View this message in context: http://www.nabble.com/-S2--Result-annotation---possibility-to-pass-method-as-parameter--tp14370279p14370279.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message