I have a Panel containing a Label that shows how many items are in the shopping cart right now.
The Label should be updated (via Ajax) from within any number of pages, forms, and panels throughout the application. Various sub- and sub-panels/forms/etc. may have the "Add To Cart" link that should update this Label, so the Ajax update can come from various points. The Panel with this Label is always displayed at the top of every page. My question is, is there an easy way to save as a "global variable" this Label component (or, the containing Panel) so it's available to everybody all the time? Thanks. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Updating-a-Component-from-anywhere-tp3708349p3708349.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
