Re: Distinguish between request parameters and struts.xml parameters in Struts2

2010-01-13 Thread Musachy Barroso
well, I meant built in :) On Wed, Jan 13, 2010 at 2:17 PM, Dale Newfield wrote: > Musachy Barroso wrote: >> >> No way to distinguish, that I know off. > > Perhaps simply inserting a custom interceptor between params and > actionMappingParams/staticParams so you can track which are set before the

Re: Distinguish between request parameters and struts.xml parameters in Struts2

2010-01-13 Thread Dale Newfield
Musachy Barroso wrote: No way to distinguish, that I know off. Perhaps simply inserting a custom interceptor between params and actionMappingParams/staticParams so you can track which are set before the custom interceptor runs and which are set afterwards? -Dale ---

Re: Distinguish between request parameters and struts.xml parameters in Struts2

2010-01-13 Thread Musachy Barroso
No way to distinguish, that I know off. But the static params interceptor has a setting to not merge them. On Mon, Jan 11, 2010 at 7:54 PM, Jose Luis Martinez Avial wrote: > Hi all, >  I'm trying to distinguish the parameters that come from the request > from those that come from the params defin

Distinguish between request parameters and struts.xml parameters in Struts2

2010-01-13 Thread Jose Luis Martinez Avial
Hi all, I'm trying to distinguish the parameters that come from the request from those that come from the params defined in the struts.xml. For example, I have the following mapping in my struts.xml my resource /example/Login.jsp Menu The

Re: Distinguish between request parameters and struts.xml parameters in Struts2

2010-01-12 Thread Gabriel Belingueres
Implement interface ParameterAware: if the "resource" key is not in the parameter map, then the variable was set by other means than input parameters. 2010/1/12 JOSE L MARTINEZ-AVIAL : >  Distinguish between request parameters and struts.xml parameters in Struts2 > > Hi al

Distinguish between request parameters and struts.xml parameters in Struts2

2010-01-12 Thread JOSE L MARTINEZ-AVIAL
Distinguish between request parameters and struts.xml parameters in Struts2 Hi all, I'm trying to distinguish the parameters that come from the request from those that come from the params defined in the struts.xml. For example, I have the following mapping in my strut