On Tue, 21 Dec 2010 12:21:05 -0200, Richard Hill <r...@su3analytics.com> wrote:

Hi,

Hi!

I'm trying to build a simple wizard - a 5 step process. I've been
looking at formfragment - which I think I could use for each step of the
process, with the appropriate fragment visible for each step.

Do you need to submit each part of the steps? If not, one possible approach is to have the whole wizard as a single form and just show and hide the appropriate parts, maybe using FormFragment. If yes, why not using five different forms in different <t:block>s and using the Delegate component to render one of them?

But how can I submit the data added to a fragment with Ajax?

You can't submit just a part (i.e. some fields) of the form, just the Form as a whole.

The submit button triggers a normal POST as far as I can tell.

Yes.

What I really want is to trigger a zone update.

Just use the zone parameter of Form.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to