Home » Eclipse Projects » Remote Application Platform (RAP) » back button weirdness(must click back button twice for it to work in IE7)
back button weirdness [message #872787] |
Wed, 16 May 2012 20:24 |
Sean Gilley Messages: 14 Registered: April 2012 |
Junior Member |
|
|
I've got two scripts. In the first script, the user selects a piece of data. In the second, that data is read, and XML is produced. Finally, the XML is fed to my RAP application via POST.
Because the second script automatically submits itself, I had to do some stuff with cookies to make the back button go back to the first script.
In Firefox, everything works exactly as it should. While the RAP application is onscreen, the user clicks on the back button and is immediately taken back to the first script.
In IE7 the situation is different. (Why IE7? It's the standard at this company, like it or not.)
In IE7 initially the back button is active, the forward button is not. You click the back button once, and the forward button becomes active along with the back button, but the page doesn't change. Now you click the back button again, and it actually works as expected. (The forward button does nothing but make itself inactive again.)
I've confirmed that the middle script, the one that produces XML and sends it to RAP, is not called after the first button press. That seems to me to indicate that the problem is somewhere in the RAP application.
I've seen that there were (are?) some issues with the back button, but this wasn't mentioned in what I read.
Is this a known behavior? Is it fixable?
Thanks,
Sean.
|
|
|
Re: back button weirdness [message #873456 is a reply to message #872787] |
Fri, 18 May 2012 09:15 |
Tim Buschtoens Messages: 396 Registered: July 2009 |
Senior Member |
|
|
Hi.
From your description, i can not really understand what exactly you are
doing. However, it reminds me of some bugs regarding browser history and
browser widgets:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=296398
https://bugs.eclipse.org/bugs/show_bug.cgi?id=296382
Might this be related to your issue?
Greetings,
Tim
PS: I feel your pain regarding IE7...
Am 16.05.2012 22:24, schrieb Sean Gilley:
> I've got two scripts. In the first script, the user selects a piece of
> data. In the second, that data is read, and XML is produced. Finally,
> the XML is fed to my RAP application via POST.
>
> Because the second script automatically submits itself, I had to do some
> stuff with cookies to make the back button go back to the first script.
>
> In Firefox, everything works exactly as it should. While the RAP
> application is onscreen, the user clicks on the back button and is
> immediately taken back to the first script.
>
> In IE7 the situation is different. (Why IE7? It's the standard at this
> company, like it or not.)
>
> In IE7 initially the back button is active, the forward button is not.
> You click the back button once, and the forward button becomes active
> along with the back button, but the page doesn't change. Now you click
> the back button again, and it actually works as expected. (The forward
> button does nothing but make itself inactive again.)
>
> I've confirmed that the middle script, the one that produces XML and
> sends it to RAP, is not called after the first button press. That seems
> to me to indicate that the problem is somewhere in the RAP application.
>
> I've seen that there were (are?) some issues with the back button, but
> this wasn't mentioned in what I read.
>
> Is this a known behavior? Is it fixable?
>
> Thanks,
>
> Sean.
>
--
Tim Buschtöns
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
| |
Goto Forum:
Current Time: Sat Apr 27 16:44:01 GMT 2024
Powered by FUDForum. Page generated in 0.03359 seconds
|