Accessing form parameters in an interceptor ....

2008-01-04 Thread Mufaddal Khumri
Basically I am trying to access some parameters in an interceptor since the interceptor needs to do something based on the values of these parameters. Any action that this interceptor is applied to does not need these parameters. In order to do this: If I have an ftl file with a form like

Re: Accessing form parameters in an interceptor ....

2008-01-04 Thread Chris Pratt
Try using InvocationContext.getActionContext().getParameters(). That will give you a Map containing all the parameters. I believe if you remove parameters from the map, they won't be injected into the Action, but you'll have to try that to confirm. (*Chris*) On Jan 4, 2008 8:56 AM, Mufaddal