Hello Everyone,
I would like to use the excludeParams parameter for the params
interceptor. My problem is the following:
I am using the params,prepare,params pattern. The first params
interceptor sets a 'type' property, that is used by the prepare
interceptor. According to that property, a new object is created (but
the type of the object depends on the 'type' property). The second
params interceptor then feeds the new object. The objects have different
properties, of course. This, however, causes the first params
interceptor to print a lot of error messages, as the object is not
there, yet.
I have tried to use a regex with the first interceptors excludeParams
parameter: [^(type)] (first interceptor shoud ignore everything but the
'type' parameter)
It did not work. But when I add .* before or after the regex, it worked
somehow. Why is that?
I also try to create a whitelist for more than one parameter:
[^(oid)(tid)], but it's also not working.
Has anyone ever tried this, or should I go for ParameterNameAware?
(Which would be more complicated IMO..)
Thanx,
~Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]