If you don't just want to re-render your page, put everything in a big container (panel) and re-render that. That should be simple enough, and like I said you only have to add the container and the rest will be rendered (and replaced) with it.
Eelco On 12/1/06, Otan <[EMAIL PROTECTED]> wrote: > I need to take advantage of AJAX that's why I can't turn it into a normal > page request. > > addComponent(page) doesn't work, but it's a nice feature if it does (I > guess). > > On 02/12/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > 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 > > > > > ------------------------------------------------------------------------- > 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