ActionMapper - obtaining it in a taglib

2008-04-21 Thread Adam Hardy
Just had a long search through the struts source and can't see how this is done. I want to obtain the ActionMapper so that I can get the URL for an action, in the same way that the Form taglib does it: ActionMapping mapping = new ActionMapping(action, namespace, actionMethod, parameters);

Re: ActionMapper - obtaining it in a taglib

2008-04-21 Thread Ralf Fischer
Hi Adam, On Mon, Apr 21, 2008 at 6:02 PM, Adam Hardy [EMAIL PROTECTED] wrote: Just had a long search through the struts source and can't see how this is done. I want to obtain the ActionMapper so that I can get the URL for an action, in the same way that the Form taglib does it:

Re: ActionMapper - obtaining it in a taglib

2008-04-21 Thread Dave Newton
--- Adam Hardy [EMAIL PROTECTED] wrote: I want to obtain the ActionMapper so that I can get the URL for an action, in the same way that the Form taglib does it: Does the @Inject annotation not work for you? Dave - To

Re: ActionMapper - obtaining it in a taglib

2008-04-21 Thread Adam Hardy
Ralf Fischer on 21/04/08 18:24, wrote: On Mon, Apr 21, 2008 at 6:02 PM, Adam Hardy [EMAIL PROTECTED] wrote: Just had a long search through the struts source and can't see how this is done. I want to obtain the ActionMapper so that I can get the URL for an action, in the same way that the Form

Re: ActionMapper - obtaining it in a taglib

2008-04-21 Thread Adam Hardy
Dave Newton on 21/04/08 18:29, wrote: --- Adam Hardy [EMAIL PROTECTED] wrote: I want to obtain the ActionMapper so that I can get the URL for an action, in the same way that the Form taglib does it: Does the @Inject annotation not work for you? It works, but it doesn't light my fire. I just