Also, this explains the example: http://wicket.apache.org/exampleajaxcounter.html
2009/10/13 Richard Allen <richard.l.al...@gmail.com> > One way is to make your "Client" area a Wicket Panel and make your nav > links extend AjaxLink (or AjaxFallbackLink), then add the Client Panel to > the AjaxRequestTarget in your implemented > AjaxLink.onClick(AjaxRequestTarget) method. Note, the components you add to > the AjaxRequestTarget must have Component.setOutputMarkupId(true). > > See this code for an example: > > http://www.wicket-library.com/wicket-examples/ajax/links.1?wicket:bookmarkablePage=sources:org.apache.wicket.examples.source.SourcesPage&SourcesPage_class=org.apache.wicket.examples.ajax.builtin.LinksPage&source=LinksPage.java > > You could also add other Wicket components to the AjaxRequestTarget that > you want to see refreshed, such as the navigation. That depends on your > design. > > -Richard > > > 2009/10/13 Pedro Santos <pedros...@gmail.com> > > You can write the links on Nav Page with target for Client page, and no >> ajax >> is needed >> >> 2009/10/13 Zenberg Ding <zenberg.d...@gmail.com> >> >> > Hi all, >> > >> > We'll plan to use wicket in our application for one enterprise's >> > information management system. >> > >> > the app's portal layout is someting like this: >> > >> > --------------------------------------------------------------- >> > | Header | >> > --------------------------------------------------------------- >> > | | | >> > | | | >> > | Nav | Client | >> > | | | >> > | | | >> > | | | >> > | | | >> > | | | >> > | | | >> > | | | >> > --------------------------------------------------------------- >> > | footer | >> > --------------------------------------------------------------- >> > >> > When we use Wicket's layout way --> Orgnized everything into one page >> using >> > <child>, we found that it's reload everything ( header nav etc.) >> everytime >> > when click links in client area. >> > >> > Is there a nice way organize those pages in a ajax partial refresh way? >> > >> > For example , >> > >> > Nav and client are all represent by a separated *independent* page, When >> > click nav area, only refresh client area, (*Note* client area is >> represent >> > by a client Page, not a panel). >> > >> > Thanks. >> > >> > Zenberg dingļ¼zenberg.d...@gmail.com >> > 2009-10-13 >> > >> >> >> >> -- >> Pedro Henrique Oliveira dos Santos >> > >