Hi Andre,
What you're planning to do could work, but there are a few thing to note:

1) The UI interaction when submitting "Add product to cart" messages is
entirely a function of the API exposed by the Amazon service. Depending on
the control given to you there, you may be able to add products behind the
scenes while putting up a spinner style dialog box without any other UI
interactions or you may not. Double-check what's available to you to see
what you can do.

2) If there are UI interactions as a result of adding items to a shopping
cart behind the scenes, you can't really freeze or turn the browser off to
hide these from view, but you can use something like the GlassPanel in the
GWT incubator project. The GlassPanel is essentially a transparent panel
that you can place over the entire page to block out user interactions until
some given process or action is complete.

The only thing to watch out for with the GlassPanel is that it is indeed
transparent by default, so although users won't be able to interact with the
page as some given action is occurring, they will still be able to see
what's going on behind the scenes. You could style the GlassPanel to be
completely opaque, but that would still lead to a negative user experience
as the user would lose all feedback with the page.

Hope that helps,
-Sumit Chandel

On Thu, Oct 16, 2008 at 1:38 PM, aangel <[EMAIL PROTECTED]> wrote:

>
> Hi, everyone.
>
> I am running a store using Amazon's back end (http://
> store.postpeakliving.com). I have no access to the back end whatsoever
> but I can change the HTML, add Javascript and thus can use GWT.
>
> One feature Amazon doesn't give its merchants is the ability to fill
> the shopping cart with multiple items using only one click -- a sort
> of "buy the kit" functionality.
>
> I'd like to use GWT to create that.
>
> Here is what I'm thinking:
> * show a dialog box with the message "One moment as we fill your
> shopping cart with those products."
> * given a list of product SKUs (probably passed via a cookie), send
> the "add product to cart" message for each one
>
> From a design perspective, it would be wonderful if the background
> page didn't show that the products were being added.
>
> So here are my questions:
> * is there a way to "turn off" the browser display or "freeze" it so
> that I can work in the background? Then turn it back on?
> * does anyone know of a tutorial similar to this task?
> * are there any other hidden snafus to watch for?
>
> Thanks for any help you can provide.
>
> -Andre'
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to