You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by MattyDE <uf...@gmail.com> on 2010/04/22 09:00:27 UTC

VisitChildren and AjaxTabbedPanel

I have to traverse from the "parent" of my Tabs through all components in all
tabs.

As i use now "visitChildren" i only found the components which are visible
on the active tab. Its clear why, cause the other tabs are not loaded with
ajax.

But are there any way to traverese through ALL Tabs to find all possible
components too?.

This is because i've different forms on this tabs which i want to submit
with one general Save-Button.

Thanks in Advance for any help!
-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/VisitChildren-and-AjaxTabbedPanel-tp2020105p2020105.html
Sent from the Wicket - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: VisitChildren and AjaxTabbedPanel

Posted by Igor Vaynberg <ig...@gmail.com>.
you dont see those components because they are not added to the
hierarchy. the tabbed panel only adds the current tab. if you want to
traverse them you will have to first create them and then call visit
on each tab. a much better solution is to use a javascript-only tab
panel so your entire form is rendered into html but only parts are
visible.

-igor


On Thu, Apr 22, 2010 at 12:00 AM, MattyDE <uf...@gmail.com> wrote:
>
> I have to traverse from the "parent" of my Tabs through all components in all
> tabs.
>
> As i use now "visitChildren" i only found the components which are visible
> on the active tab. Its clear why, cause the other tabs are not loaded with
> ajax.
>
> But are there any way to traverese through ALL Tabs to find all possible
> components too?.
>
> This is because i've different forms on this tabs which i want to submit
> with one general Save-Button.
>
> Thanks in Advance for any help!
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/VisitChildren-and-AjaxTabbedPanel-tp2020105p2020105.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org