SWT Browser: LocationListener.changing() and the BeforeNavigate event [message #459847] |
Thu, 18 August 2005 04:00  |
Eclipse User |
|
|
|
Hi!
I'm using the Browser widget in a dialog to display a JSP that lets the
user select something. To close the dialog when the user has selected an
item from the JSP, I use a LocationListener that waits for a special URL
to cancel the navigation process and close the dialog.
On some systems this works fine, on others, nothing happens. I found
out, that some versions of IE trigger the BeforeNavigate2 event before
navigating to an URL, and some trigger the BeforeNavigate event instead.
The Browser widget listens only to the BeforeNavigate2 event.
Has anybody similar experience or may be a workaround for this?
BR
Florian
|
|
|
|
Re: SWT Browser: LocationListener.changing() and the BeforeNavigate event [message #459860 is a reply to message #459856] |
Thu, 18 August 2005 11:35  |
Eclipse User |
|
|
|
Hi Grant!
No, all IE 6. I tested the following versions:
don' work:
6.0.2900.2180.xpsp_sp2_gdr.050301-1519
6.0.2800.1106.xpsp1.020828-1920
works:
6.0.2800.1106.xpsp2.040919-1003
What really iritates me is the fact that the version that works is
between the two versions that don't.
Florian
Grant Gayed wrote:
> Hi Florian,
>
> The Browser assumes an IE version of >= 5.5. I'm guessing that the systems
> that fire BeforeNavigate for you are older than this?
>
> Grant
>
> "Florian Thienel" <flori@docufy.de> wrote in message
> news:de1f79$efi$1@news.eclipse.org...
>
>>Hi!
>>
>>I'm using the Browser widget in a dialog to display a JSP that lets the
>>user select something. To close the dialog when the user has selected an
>>item from the JSP, I use a LocationListener that waits for a special URL
>> to cancel the navigation process and close the dialog.
>>
>>On some systems this works fine, on others, nothing happens. I found
>>out, that some versions of IE trigger the BeforeNavigate2 event before
>>navigating to an URL, and some trigger the BeforeNavigate event instead.
>>The Browser widget listens only to the BeforeNavigate2 event.
>>
>>Has anybody similar experience or may be a workaround for this?
>>
>>BR
>>Florian
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03714 seconds