Wouldn't a page factory be actually better solution? It could take an existing page from pagemap and return it. Seems to me easier than custom request target resolver strategy.
-Matej Johan Compagner wrote: > subclass: DefaultRequestTargetResolverStrategy > and then resolveBookXXXX > > and do what ever you want there. But don't just return a page from a > application wide pool > > johan > > > On 11/3/06, [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>* > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: > > John, > > when I use bookmarkable urls I get every time I reload the page > a new instance. Is there a way to avoid this? > > Maciej > > > -----Ursprüngliche Nachricht----- > > Von: [email protected] > <mailto:[email protected]> > > Gesendet: 03.11.06 16:30:22 > > An: [email protected] > <mailto:[email protected]> > > Betreff: Re: [Wicket-user] Strategy to avoid new instances of > pages and panels > > what do you mean with reloads the page? > > > > A normal refresh (if url is wicket:interface=xxx) then a page is > not recreated. > > Or do you mean bookmarkable urls? > > > > Other links like pageLinks or your own links you can do what ever > you want with pooling pages. > > > > > > johan > > > > > > > > > > On 11/3/06, [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > > wrote:Hi all! > > > > I am looking for a pattern, strategy or code example how to avoid > creation of new page Instances when a user reloads a page. Can > someone give my a hint how to achieve following behaviour: > > > > > > - "static" pages which have only a single instance during whole > application lifecycle ? > > - some kind of page and/or factory or proxy to reuse instances? > > > > Any best practice or some examples would be nice. > > > > > > Thank you very much, > > > > Maciej Bednarz > > > > > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, > security? > > Get stuff done quickly with pre-integrated technology to make > your job easier > > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > > > > _______________________________________________ > > Wicket-user mailing list > > [email protected] > <mailto:[email protected]> > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > ----------------------------------------------------------------- > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, > security? > > Get stuff done quickly with pre-integrated technology to make > your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > > > > ----------------------------------------------------------------- > > _______________________________________________ > > Wicket-user mailing list > > [email protected] > <mailto:[email protected]> > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > -- > mfG > > Bednarz, Hannover > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > _______________________________________________ > Wicket-user mailing list > [email protected] > <mailto:[email protected]> > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Wicket-user mailing list > [email protected] > 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 [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
