Hi Natalie,

If I understand your description correctly, then updating your wizard to
use AJAX is a matter of (1) replacing links/buttons with AJAX ones, and (2)
adding the overview bar to the AjaxRequestTarget so that it gets updated.

An approach to #1 is to construct links/buttons with a factory method that
knows whether the wizard is AJAX or not.
An approach to #2 in Wicket 1.5 is for your wizard to override
Component#onEvent() and add the overview bar to AjaxRequestTarget
payloads[1]. In 1.4 I think you're stuck with something more manual. Maybe
the factory method in #1 produces links/buttons that do this by default.



On Thu, Feb 23, 2012 at 10:48 AM, N. Metzger <nmetz...@odu.edu> wrote:

> Hi all,
> I have a wizard implemented that walks the user through a dynamic amount of
> steps. I also added an overview bar to show progress to the user,
> essentially a picture moving an arrow from left to right. So far the
> overview is defined upon wizard creation with the picture staying the same
> in all steps.
> Now, I can go ahead and make an Ajax wizard out of my normal wizard and
> hopefully update the overview bar with every step. Before going to such
> lengths, though, is there a way to do it with the regular wizard?
> Natalie
> P.S. Wicket 1.4.19
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Wizard-overview-bar-tp4414812p4414812.html
> Sent from the Users forum mailing list archive at Nabble.com.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to