Re: [Wicket-user] Navigation between pages
Yes something like that, I guess you could also pop the pages from the page stack. You think that should give problems? Im betting that this technique also are used by the wizard extension..? -regards Nino -Original Message- From: [EMAIL PROTECTED] on behalf of Scott Swank Sent: Wed 21-02-2007 17:48 To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] Navigation between pages Nino, Wouldn't that leave all of the pages in session? I.e. you expect to have 7 pages in history, but 7 points to 8, which points to 9, etc. Scott On 2/21/07, Nino Wael [EMAIL PROTECTED] wrote: You can also employ an easy way to go back to the previous page by passing the current page to the next page. It's been pretty useful for us. Or even telling the page which page to goto next. Small pseudo snipplet: public class mypage extends WebPage { public mypage(final Page Previous, final Page next, Model model) { on next button: setresponse(next); on previous: setresponse(previous); } Regards Nino -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gohan Sent: 21. februar 2007 09:36 To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] Navigation between pages Well you could just use setResponsePage(new YourWebPage(..)); Peter Klassen wrote: Hi all, just one more trivial question; ;-) which possibilities do i got to navigate from one Webpage to another after an event is triggered? Thx in advance! Peter -- View this message in context: http://www.nabble.com/Navigation-between-pages-tf3265417.html#a9077111 Sent from the Wicket - User mailing list archive at Nabble.com. - 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Scott Swank reformed mathematician - 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Navigation between pages
You think that should give problems? Not necessarily. But do keep in mind that as long as you have references to pages they can't be serialized. Alternatively, you could work with bookmarkable pages more and pass the class (and possibly parameter) for 'back' navigation. Not as pretty but more efficient. The choice is your's :) Im betting that this technique also are used by the wizard extension..? Wrong bet :) The wizard works entirely with component replacement (panels). The nice thing about that is that you can use a wizard (or multiple even) on a page independently of what's on the page for the rest. Eelco - 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Navigation between pages
Hi all, just one more trivial question; ;-) which possibilities do i got to navigate from one Webpage to another after an event is triggered? Thx in advance! Peter -- View this message in context: http://www.nabble.com/Navigation-between-pages-tf3265417.html#a9077014 Sent from the Wicket - User mailing list archive at Nabble.com. - 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Navigation between pages
Well you could just use setResponsePage(new YourWebPage(..)); Peter Klassen wrote: Hi all, just one more trivial question; ;-) which possibilities do i got to navigate from one Webpage to another after an event is triggered? Thx in advance! Peter -- View this message in context: http://www.nabble.com/Navigation-between-pages-tf3265417.html#a9077111 Sent from the Wicket - User mailing list archive at Nabble.com. - 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Navigation between pages
You can also employ an easy way to go back to the previous page by passing the current page to the next page. It's been pretty useful for us. Or even telling the page which page to goto next. Small pseudo snipplet: public class mypage extends WebPage { public mypage(final Page Previous, final Page next, Model model) { on next button: setresponse(next); on previous: setresponse(previous); } Regards Nino -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gohan Sent: 21. februar 2007 09:36 To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] Navigation between pages Well you could just use setResponsePage(new YourWebPage(..)); Peter Klassen wrote: Hi all, just one more trivial question; ;-) which possibilities do i got to navigate from one Webpage to another after an event is triggered? Thx in advance! Peter -- View this message in context: http://www.nabble.com/Navigation-between-pages-tf3265417.html#a9077111 Sent from the Wicket - User mailing list archive at Nabble.com. - 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Navigation between pages
Nino, Wouldn't that leave all of the pages in session? I.e. you expect to have 7 pages in history, but 7 points to 8, which points to 9, etc. Scott On 2/21/07, Nino Wael [EMAIL PROTECTED] wrote: You can also employ an easy way to go back to the previous page by passing the current page to the next page. It's been pretty useful for us. Or even telling the page which page to goto next. Small pseudo snipplet: public class mypage extends WebPage { public mypage(final Page Previous, final Page next, Model model) { on next button: setresponse(next); on previous: setresponse(previous); } Regards Nino -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gohan Sent: 21. februar 2007 09:36 To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] Navigation between pages Well you could just use setResponsePage(new YourWebPage(..)); Peter Klassen wrote: Hi all, just one more trivial question; ;-) which possibilities do i got to navigate from one Webpage to another after an event is triggered? Thx in advance! Peter -- View this message in context: http://www.nabble.com/Navigation-between-pages-tf3265417.html#a9077111 Sent from the Wicket - User mailing list archive at Nabble.com. - 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Scott Swank reformed mathematician - 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Navigation between pages
On 2/21/07, Scott Swank [EMAIL PROTECTED] wrote: Nino, Wouldn't that leave all of the pages in session? I.e. you expect to have 7 pages in history, but 7 points to 8, which points to 9, etc. Yep, it would. This pattern works good for when you have dialogue style pages (gather some info and then return) that could be accessed from a number of different pages (so where to navigate back to is something you want to keep flexible). But the price for the ease is that you'll keep a reference to the page to get back to thus preventing it to be garbage collected. Eelco - 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user