Hi,

I'm exploring AJAX with lift and have a basic question. If I have
several snippets on a page that use a shared session-variable (think
of a shopping cart and a control to add a product to the cart). How
can the control snipped trigger a AJAX rerender of the cart snippet
after the cart was changed? I'm sure by making both the control and
the cart an comet snippet this would be possible. However I wonder if
there is another way.

Second question: should the cart and the control be to different
snippets or can I implement two methods to render the cart snippet:
one method to render the "list of items" another to render a
controller to place a certain product into the cart.

Thanks,
   Philipp Meier.


--
Gras doesn't grow faster by tearing at it.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to