> When would this setter be called? Can I access this property inside an
> interceptor (custom interceptor/pre-packaged interceptor)? (This would help
> to check it before execute is called)
>
I believe it is called by the ParamInterceptor, so as long as your
interceptor is later in the stack, t
Chris,
When would this setter be called? Can I access this property inside an
interceptor (custom interceptor/pre-packaged interceptor)? (This would help to
check it before execute is called)
Thanks.
Chris Pratt <[EMAIL PROTECTED]> wrote: Yes, setRole(String role) for my example.
(*Chris*)
Yes, setRole(String role) for my example.
(*Chris*)
On 8/30/07, akash agrawal <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Thanks for the reply Chris.
>
> Do you mean providing a setter like setRole(String role) or setRoles(String
> role) would do?
>
> When would this setter be called? If I define an i
Hi,
Thanks for the reply Chris.
Do you mean providing a setter like setRole(String role) or setRoles(String
role) would do?
When would this setter be called? If I define an interceptor, Can I check for
this property inside interceptor before my execute() is called?
Thanks,
-Akash
Chris Pratt
Just create a mutator in your action and Struts will populate the
value for you automatically. I use this to set the Role into my base
action
admin
(*Chris*)
On 8/30/07, akash agrawal <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Can someone explain me the usage of element under element?
> How
Hi,
Can someone explain me the usage of element under element? How
to access it property inside java action?
Is this a valid config?
xyz, abc1, abc2
How to access roles property in an action class?
Thanks,
-Akash
-
Shape Yahoo! in your own image.
6 matches
Mail list logo