Can't you just keep a reference to the backPage and then simply call
setResponsePage(backPage)?

~ Thank you,
  Paul Bors

-----Original Message-----
From: Alec Swan [mailto:alecs...@gmail.com] 
Sent: Friday, August 31, 2012 7:07 PM
To: users@wicket.apache.org
Subject: Re: Back button doesn't work with AjaxTabbedPanel

So, is there an easy way to support Back button with AjaxTabbedPanel?

On Thu, Aug 30, 2012 at 1:04 PM, Alec Swan <alecs...@gmail.com> wrote:
> Well, I have other ajax interactions and I thought if I could fix Back 
> button for AjaxTabbedPanel I'd be able to fix it for other ajax 
> interactions.
>
> On Thu, Aug 30, 2012 at 12:51 PM, Sven Meier <s...@meiers.net> wrote:
>> Silly question: Why don't you use a non-Ajax Tabbedpanel?
>>
>> Sven
>>
>>
>> On 08/30/2012 08:45 PM, Alec Swan wrote:
>>>
>>> What can I do to allow user to go back to the previously selected 
>>> tab with a Back button? I tried the following approach but it 
>>> doesn't seem to work:
>>> http://grepcode.com/file/repo1.maven.org/maven2/org.wicketstuff/jque
>>> ry-examples/1.4.7/org/wicketstuff/jquery/ajaxbackbutton/Page4AjaxBac
>>> kButton.java
>>>
>>> On Thu, Aug 30, 2012 at 12:36 PM, Sven Meier <s...@meiers.net> wrote:
>>>>
>>>> Swapping components via Ajax will not change the browser's page
history.
>>>> Thus the Back button works as expected - it takes you to the 
>>>> previous url.
>>>>
>>>> Sven
>>>>
>>>>
>>>> On 08/30/2012 07:55 PM, Alec Swan wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>> I am using AjaxTabbedPanel to implement an ajax-swappable menu on 
>>>>> the Main page which is mounted with mountBookmarkablePage. For 
>>>>> some reason the Back button in the browser  does not take the user 
>>>>> to the previously selected tab. It takes them out to the page 
>>>>> which was shown before user saw Main page for the first time.
>>>>>
>>>>> Should I be expecting the Back button to work on AjaxTabbedPanel? 
>>>>> If so, why wouldn't it be working?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Alec
>>>>>
>>>>> ------------------------------------------------------------------
>>>>> --- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>>>
>>>>
>>>> -------------------------------------------------------------------
>>>> -- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>>
>>> --------------------------------------------------------------------
>>> - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to