Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
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 Go to next message
Sean Gilley is currently offline Sean GilleyFriend
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 Go to previous messageGo to next message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 387
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/
Re: back button weirdness [message #873532 is a reply to message #873456] Fri, 18 May 2012 13:06 Go to previous message
Sean Gilley is currently offline Sean GilleyFriend
Messages: 14
Registered: April 2012
Junior Member
It sounds like this bug:

bugs.eclipse.org/bugs/show_bug.cgi?id=296398

Basically, once the RAP application starts, it takes two clicks on the back button to go to the previous page. After navigating off the page the back button works as expected. If the user returns to the RAP application, it again takes two clicks to go back a page.

Again, I've only observed the problem in IE7. Since this is a work environment, the standard is IE7, though I have tested in Firefox 4. In FF, the back button works correctly.

Sean.
Previous Topic:DefaultClassLoader error in RAP application when run in Eclipse
Next Topic:MenuManager on right click doesn't work properly with 1.5M6
Goto Forum:
  


Current Time: Sun Nov 23 12:28:11 GMT 2014

Powered by FUDForum. Page generated in 0.11950 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software