Re: Using PageReference for a 'back' link

2012-10-23 Thread Martin Grigorov
7;m working on the migration of our project from Wicket 1.4 to Wicket 1.5 >> and I'm trying to fix support of a 'back' link, that before was implemented >> using PageMap and now.well, PageMap are gone! >> >> I read on different forums that PageReference c

Re: Using PageReference for a 'back' link

2012-10-23 Thread Dirk Forchel
Sorry, I did not read your question carefully. Yes my suggestion does not work with BookmarkablePageLinks. But Martin has given you already the right solution. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Using-PageReference-for-a-back-link-tp4653212p4653257.html

Re: Using PageReference for a 'back' link

2012-10-23 Thread Martijn Dashorst
, Leonardo D'Alimonte wrote: > Hi, > > I'm working on the migration of our project from Wicket 1.4 to Wicket 1.5 > and I'm trying to fix support of a 'back' link, that before was implemented > using PageMap and now.well, PageMap are gone! > > I read o

Re: Using PageReference for a 'back' link

2012-10-23 Thread Leonardo D'Alimonte
ge in context: http://apache-wicket.1842946.n4.nabble.com/Using-PageReference-for-a-back-link-tp4653212p4653248.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apach

Re: Using PageReference for a 'back' link

2012-10-23 Thread Martin Grigorov
it could work: > > e.g. in OverviewPage.java: > > > > in DetailedViewPage.java: > > > > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Using-PageReference-

Re: Using PageReference for a 'back' link

2012-10-22 Thread Dirk Forchel
Here a short example with two Pages (a kind of "overview" page and a "detailed view" page) how it could work: e.g. in OverviewPage.java: in DetailedViewPage.java: -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Using-PageRefer

Re: RE: back link

2010-08-08 Thread Leszek Gawron
Well ... first off the code was written out the top of my head and as it is totally trivial there should be no problem there is a typo somewhere. Answering your second concern: no it shouldn't be built-in in: - it breaks pages' statelessness - the web navigation is hardly ever linear so you always

RE: back link

2010-08-08 Thread Alex Rass
hem, but it also seems like it's something that should be inherent/built in, no? - Alex >-Original Message- >From: Leszek Gawron [mailto:lgaw...@gmail.com] On Behalf Of Leszek Gawron >Sent: Friday, 6 August 2010 10:22 PM >To: users@wicket.apache.org >Subject: Re: bac

Re: back link

2010-08-07 Thread Leszek Gawron
On Saturday, August 7, 2010, Chris Colman wrote: > Does this work for clicking 'back' n times where n > 1 or does it only > work in the n = 1 case? Yes it does. Please mind though that the pagemap size is limited so you might get "page expired" for large n values. I have never experienced the pro

RE: back link

2010-08-07 Thread Chris Colman
Does this work for clicking 'back' n times where n > 1 or does it only work in the n = 1 case? >-Original Message- >From: Leszek Gawron [mailto:lgaw...@gmail.com] On Behalf Of Leszek Gawron >Sent: Friday, 6 August 2010 10:22 PM >To: users@wicket.apache.org >S

Re: SV: back link

2010-08-06 Thread Leszek Gawron
On 2010-08-06 14:29, Wilhelmsen Tor Iver wrote: public TargetPage( IModel model, final Page returnPage ) { You should use PageReference objects instead to avoid issues with serialization. - Tor Iver - To unsubscribe, e-m

SV: back link

2010-08-06 Thread Wilhelmsen Tor Iver
>public TargetPage( IModel model, final Page returnPage ) { You should use PageReference objects instead to avoid issues with serialization. - Tor Iver - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additi

Re: back link

2010-08-06 Thread Leszek Gawron
On 2010-08-06 13:44, Alex Rass wrote: Hi. Here's a "cooky-wacky" problem: Added this to my markup: Back But when I am running this under the wicket (w/ FFox), it works great once. Then it starts jumping me back to this page after I leave it. Is there something I should be doing differently t

back link

2010-08-06 Thread Alex Rass
Hi. Here's a "cooky-wacky" problem: Added this to my markup: Back But when I am running this under the wicket (w/ FFox), it works great once. Then it starts jumping me back to this page after I leave it. Is there something I should be doing differently to create a back button? :) I know this i

best way -> back link

2009-02-04 Thread alexander.elsholz
state of workspacepage. pos 1: parse the pagemap and look for the last version of the page pos 2: hold the page-object in session pos 3: an other alternative, i don't know like defining a page as a singleton page thanks alex -- View this message in context: http://www.nabble.com/best-way

Re: Back link

2008-03-13 Thread Mathias P.W Nilsson
Thanks I will look into this! -- View this message in context: http://www.nabble.com/Back-link-tp16026896p16034782.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL

Re: Back link

2008-03-13 Thread Martijn Dashorst
also discussed on the list, so you can find the code for retrieving the page there. Martijn On 3/13/08, Mathias P.W Nilsson <[EMAIL PROTECTED]> wrote: > > Hi! > > I was wondering on how to deal with a back link. Not back button of browser > but a back link ( not history

Back link

2008-03-13 Thread Mathias P.W Nilsson
Hi! I was wondering on how to deal with a back link. Not back button of browser but a back link ( not history.back() in javascript ) A user has performed a search for items. He/she found one on page 3. In my wicket link onclick event I do the following. Item i = ( Item ) item.getModelObject