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*)
On 8/30/07, akash agrawal 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 interceptor, Can I check for
> this property inside interceptor before my execute() is called?
>
> Thanks,
> -Akash
>
> Chris Pratt wrote: 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 wrote:
> > 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. Join our Network Research Panel today!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> ---------------------------------
> Need a vacation? Get great deals to amazing places on Yahoo! Travel.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------
Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out.