RE: Back button doesn't work with AjaxTabbedPanel

2012-09-04 Thread Paul Bors
Yes.

It doesn't make sense to use Ajax to refresh a whole page anyhow unless your
tab panel is really just a small panel but then you won't be asking about
support for the browser's back button because you prob won't care :)

~ Thank you,
  Paul Bors

-Original Message-
From: Alec Swan [mailto:alecs...@gmail.com] 
Sent: Tuesday, September 04, 2012 12:49 PM
To: users@wicket.apache.org
Subject: Re: Back button doesn't work with AjaxTabbedPanel

So, my conclusion from this discussion is that TabbedPanel should be used
instead of AjaxTabbedPanel if browser Back button needs to be supported with
a menu.

Thanks,

Alec

On Tue, Sep 4, 2012 at 9:48 AM, Paul Bors  wrote:
> You must be talking about the browser's navigation Back button.
> I through you had your own HTML button there for a second.
>
> In that case you're relying on Wicket to handle it and on its page map 
> mechanism.
> As explained earlier, an entry is not pushed for Ajax responses unless 
> you manually do so and you'd most likely have to use page constructors 
> with mapped arguments so that you can grab the tab number from the URL.
>
> See how the page maps work:
> https://cwiki.apache.org/WICKET/page-maps.html
>
> And the JavaDoc on PageParameters:
> http://wicket.apache.org/apidocs/1.5/org/apache/wicket/request/mapper/
> parame
> ter/PageParameters.html
>
> Not sure if you really want to go to this extreme, but feel free to do 
> so if you must.
>
> ~ Thank you,
>   Paul Bors
>
> -Original Message-
> From: Alec Swan [mailto:alecs...@gmail.com]
> Sent: Saturday, September 01, 2012 12:05 PM
> To: users@wicket.apache.org
> Subject: Re: Back button doesn't work with AjaxTabbedPanel
>
> How do I know when the back button is pressed?
>
> On Fri, Aug 31, 2012 at 6:48 PM, Paul Bors  wrote:
>> 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  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  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/jq
>>>>> u
>>>>> e
>>>>> ry-examples/1.4.7/org/wicketstuff/jquery/ajaxbackbutton/Page4AjaxB
>>>>> a
>>>>> c
>>>>> kButton.java
>>>>>
>>>>> On Thu, Aug 30, 2012 at 12:36 PM, Sven Meier  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
>>>>>>>
>>&g

Re: Back button doesn't work with AjaxTabbedPanel

2012-09-04 Thread Alec Swan
So, my conclusion from this discussion is that TabbedPanel should be
used instead of AjaxTabbedPanel if browser Back button needs to be
supported with a menu.

Thanks,

Alec

On Tue, Sep 4, 2012 at 9:48 AM, Paul Bors  wrote:
> You must be talking about the browser's navigation Back button.
> I through you had your own HTML button there for a second.
>
> In that case you're relying on Wicket to handle it and on its page map
> mechanism.
> As explained earlier, an entry is not pushed for Ajax responses unless you
> manually do so and you'd most likely have to use page constructors with
> mapped arguments so that you can grab the tab number from the URL.
>
> See how the page maps work:
> https://cwiki.apache.org/WICKET/page-maps.html
>
> And the JavaDoc on PageParameters:
> http://wicket.apache.org/apidocs/1.5/org/apache/wicket/request/mapper/parame
> ter/PageParameters.html
>
> Not sure if you really want to go to this extreme, but feel free to do so if
> you must.
>
> ~ Thank you,
>   Paul Bors
>
> -Original Message-
> From: Alec Swan [mailto:alecs...@gmail.com]
> Sent: Saturday, September 01, 2012 12:05 PM
> To: users@wicket.apache.org
> Subject: Re: Back button doesn't work with AjaxTabbedPanel
>
> How do I know when the back button is pressed?
>
> On Fri, Aug 31, 2012 at 6:48 PM, Paul Bors  wrote:
>> 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  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  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/jqu
>>>>> e
>>>>> ry-examples/1.4.7/org/wicketstuff/jquery/ajaxbackbutton/Page4AjaxBa
>>>>> c
>>>>> kButton.java
>>>>>
>>>>> On Thu, Aug 30, 2012 at 12:36 PM, Sven Meier  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
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> -
>>>>>> -

RE: Back button doesn't work with AjaxTabbedPanel

2012-09-04 Thread Paul Bors
You must be talking about the browser's navigation Back button.
I through you had your own HTML button there for a second.

In that case you're relying on Wicket to handle it and on its page map
mechanism.
As explained earlier, an entry is not pushed for Ajax responses unless you
manually do so and you'd most likely have to use page constructors with
mapped arguments so that you can grab the tab number from the URL.

See how the page maps work:
https://cwiki.apache.org/WICKET/page-maps.html

And the JavaDoc on PageParameters:
http://wicket.apache.org/apidocs/1.5/org/apache/wicket/request/mapper/parame
ter/PageParameters.html

Not sure if you really want to go to this extreme, but feel free to do so if
you must.

~ Thank you,
  Paul Bors

-Original Message-
From: Alec Swan [mailto:alecs...@gmail.com] 
Sent: Saturday, September 01, 2012 12:05 PM
To: users@wicket.apache.org
Subject: Re: Back button doesn't work with AjaxTabbedPanel

How do I know when the back button is pressed?

On Fri, Aug 31, 2012 at 6:48 PM, Paul Bors  wrote:
> 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  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  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/jqu
>>>> e 
>>>> ry-examples/1.4.7/org/wicketstuff/jquery/ajaxbackbutton/Page4AjaxBa
>>>> c
>>>> kButton.java
>>>>
>>>> On Thu, Aug 30, 2012 at 12:36 PM, Sven Meier  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
>

-
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



Re: Back button doesn't work with AjaxTabbedPanel

2012-09-01 Thread Alec Swan
How do I know when the back button is pressed?

On Fri, Aug 31, 2012 at 6:48 PM, Paul Bors  wrote:
> 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  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  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  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
>

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



RE: Back button doesn't work with AjaxTabbedPanel

2012-08-31 Thread Paul Bors
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  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  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  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



Re: Back button doesn't work with AjaxTabbedPanel

2012-08-31 Thread Alec Swan
So, is there an easy way to support Back button with AjaxTabbedPanel?

On Thu, Aug 30, 2012 at 1:04 PM, Alec Swan  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  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/jquery-examples/1.4.7/org/wicketstuff/jquery/ajaxbackbutton/Page4AjaxBackButton.java
>>>
>>> On Thu, Aug 30, 2012 at 12:36 PM, Sven Meier  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



Re: Back button doesn't work with AjaxTabbedPanel

2012-08-30 Thread Alec Swan
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  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/jquery-examples/1.4.7/org/wicketstuff/jquery/ajaxbackbutton/Page4AjaxBackButton.java
>>
>> On Thu, Aug 30, 2012 at 12:36 PM, Sven Meier  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



Re: Back button doesn't work with AjaxTabbedPanel

2012-08-30 Thread Sven Meier

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/jquery-examples/1.4.7/org/wicketstuff/jquery/ajaxbackbutton/Page4AjaxBackButton.java

On Thu, Aug 30, 2012 at 12:36 PM, Sven Meier  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



Re: Back button doesn't work with AjaxTabbedPanel

2012-08-30 Thread Alec Swan
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/jquery-examples/1.4.7/org/wicketstuff/jquery/ajaxbackbutton/Page4AjaxBackButton.java

On Thu, Aug 30, 2012 at 12:36 PM, Sven Meier  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



Re: Back button doesn't work with AjaxTabbedPanel

2012-08-30 Thread Sven Meier

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



Back button doesn't work with AjaxTabbedPanel

2012-08-30 Thread Alec Swan
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