You only have to add the top-level component; all the children of the
component will be rendered as well. But if you just want to render the
whole page, why not just turn it into a normal request by calling
setResponsePage(...))? I'm not totally sure whether addComponent(page)
would work, you could try that too.

Eelco


On 12/1/06, Otan <[EMAIL PROTECTED]> wrote:
> I'm using Wicket 2.0
>
> AjaxRequestTarget.addComponent() is so much useful to me. But there was a
> usecase wherein I had to update each of the components contained in my
> wicket page, and I ended up with a numerous call to
> AjaxRequestTarget.addComponent().
>
> Is there a way (an easy way) for me to all at once update the components in
> the page using AjaxRequestTarget, instead of calling addComponent() for each
> of those components?
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to