[Product-Developers] plone.app.jquerytools and overlays for forms not using AJAX

Wichert Akkerman wichert at wiggy.net
Mon Apr 12 07:41:10 UTC 2010


On 2010-4-12 03:29, Martin Aspeli wrote:
> Hi,
>
> We want to use a p.a.jquerytools-like overlay for a "confirm" screen
> on a complex form. The user configures a product to buy on a bespoke
> form, and then clicks "Buy". At this point, we need to overlay a
> confirm dialogue. This needs to show a few bits of dynamic information
> (which can be calculated in JavaScript) and give a few options (e.g.
> "would you also like to buy" type recommendations), before clicking OK
> or Cancel. Cancel would close the overlay. OK would submit the
> underlying form where the user has configured the product they are
> purchasing.
>
> The crucial thing here is that the form is not a standalone view. It's
> client-side only.
>
> Are there any examples/docs for doing this kind of thing?

Would the form pattern as documented at 
http://svn.plone.org/svn/collective/NuPlone/trunk/docs/markup.rst work 
for you? It's a cleaned up version of a pattern I've been using for the 
least year or so.

Wichert.

-- 
Wichert Akkerman <wichert at wiggy.net>   It is simple to make things.
http://www.wiggy.net/                  It is hard to make things simple.




More information about the Product-Developers mailing list