On Tue, Jun 24, 2008 at 2:18 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> --- On Tue, 6/24/08, John Smith <[EMAIL PROTECTED]> wrote:
>> Basically I add objectXYZ to the session in actionA then
>> the user submits a query to ActionB. I want to retrieve
>> objectXYZ from the session without directly calling the
>> a method on the session object inside actionB in order
>> to retrieve objectXYZ.
>
> I found the last sentence difficult to parse.
>
> What's your objection to ActionB retrieving the object via SessionAware (or 
> through ActionContext)?

Well, an object from the session is to be retrieved from an action,
but I don't want to explicitly request the object from within the
action. I like it to be automatically set, using the getter/setter
methods in the action.

Can this be done with either SessionAware or through ActionContext?

Thanks,
J

> Dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to