Best practice for navigating between pages

2008-06-22 Thread Serkan Camurcuoglu
Hi all, I'm quite new to Wicket and I'd like to ask whether what I'm doing is right. Say I have two pages A and B. Page A loads a list of information from the database and keeps it in an instance field. When a link on page A is clicked, a new page B is created and page A passes itself as one

Re: Best practice for navigating between pages

2008-06-22 Thread Eyal Golan
This is the way we do it. But I'll leave the expert respond to that :) On Sun, Jun 22, 2008 at 8:53 PM, Serkan Camurcuoglu [EMAIL PROTECTED] wrote: Hi all, I'm quite new to Wicket and I'd like to ask whether what I'm doing is right. Say I have two pages A and B. Page A loads a list of

Re: Best practice for navigating between pages

2008-06-22 Thread brian.diekelman
this message in context: http://www.nabble.com/Best-practice-for-navigating-between-pages-tp18057162p18057871.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Best practice for navigating between pages

2008-06-22 Thread Igor Vaynberg
-for-navigating-between-pages-tp18057162p18057871.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: Best practice for navigating between pages

2008-06-22 Thread Eyal Golan
How about this option? In page A: add(new Link(linkToB) { public void onClick() { B other = new B(...); other.setBackPage(A.this); setResponsePage(other); } } On Sun, Jun 22, 2008 at 8:53 PM, Serkan Camurcuoglu [EMAIL PROTECTED] wrote: Hi all, I'm quite new to Wicket and I'd

Re: Best practice for navigating between pages

2008-06-22 Thread Serkan Camurcuoglu
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Best-practice-for-navigating-between-pages-tp18057162p18057871.html Sent from the Wicket - User mailing list