Chapter 5 of Wicket in Action covers this topic, to be more specific:
"Section 5.4.2 Using AjaxFallbackLink to respond to client actions",
and modifies the Cheesr store to use Ajax links to add items to the
shopping cart instead of using normal links.

Martijn

On Mon, Aug 18, 2008 at 7:22 PM, Gregg Bolinger
<[EMAIL PROTECTED]> wrote:
> I apologize if this question has been addressed before however I didn't find
> any thing doing a quick search.  What is the recommended practice for
> handling HTML fragments from an AJAX response?  For example, if I were doing
> something similar to jquery's load() or prototype's Updater() functions.
> Since in Wicket it seems that each WebPage class represents a single HTML
> page I'm having trouble wrapping my head around it.  In an action based
> framework, like Stripes for example, I would simply have an event method
> forward to my JSP that is being returned for the ajax request.  In Wicket,
> being a component model, I'm just not clear on the procedure.
>
> Take the Cheesr app from Wicket In Action, for example.  In Chapter 3 a
> simple reusable cart component is made but it is plugged in and updated on a
> normal request/response (non AJAX).  What would need to change for that
> WebPage/HTML to be updated via an AJAX call?  Say if the Add link were
> clicked.
>
> Thanks.
>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to