On 9/20/07, Potje rode kool <[EMAIL PROTECTED]> wrote:
> How do I replace a Form by another From by using Ajax?
> I understand I have to call setOutputMarkupId(true), but what is more I have
> to do?

replace it in your component tree (form.parent.replace or
form.replaceWith) and tell Wicket's ajax engine to re-render it
(ajaxRequestTarget.addComponent(form).

If the hierarchies of the two forms don't match, wrap them in a panel
and use that for replacement.

Eelco

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

Reply via email to