Thanks Jeff. I'm going to owe you some consulting fees soon.
-----Original Message-----
From: Jeffrey D. Brekke [mailto:jbrekke@;wi.rr.com]
Sent: Friday, November 08, 2002 4:03 PM
To: Turbine Users List; [EMAIL PROTECTED]
Subject: Re: Session Tool communication with Actions
In your action just get the user's session tool from the context:
CartTool ct = (CartTool)context.get("cart.tool.name");
On Fri, 8 Nov 2002, Rex Madden wrote:
> Hi,
>
> I built a Session tool for a shopping cart called the CartTool. Now I
> want to have the user checkout, so I'm going to build a CheckoutAction
> that process the cart for the User. My question is, how can I get the
> CheckoutAction to communicate with CartTool so that I know how much to
> charge the user, what items to put on the receipt, what to mark as
sold
> in inventory, etc. Should I just stick an object in the User temp
> storage? Is there a better way to communicate between the two?
>
> Thanks in advance,
> Rex
>
--
=====================================================================
Jeffrey D. Brekke [EMAIL PROTECTED]
Software Engineer [EMAIL PROTECTED]
Wisconsin, USA [EMAIL PROTECTED]
--
To unsubscribe, e-mail:
<mailto:turbine-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:turbine-user-help@;jakarta.apache.org>
--
To unsubscribe, e-mail: <mailto:turbine-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-user-help@;jakarta.apache.org>