SWT Browser does not navigate links [message #632532] |
Wed, 13 October 2010 06:41  |
Eclipse User |
|
|
|
Hello,
I have created a SWT browser component and set the contents using setText() method. The HTML content has some anchors which point to some locations within the document. For example,
<a href="#ModelArchitecture">Model Architecture</a>
...
<h1 id="ModelArchitecture">Model Architecture</h1>
When I click on the link, instead of navigating, it displays a blank page with contents as
However, the navigation works if I save the same contents to a file and set the content using setUrl().
Also the above problem occurs only on Windows (XP, SP3, IE6). The navigation works perfectly file on OSX Safari.
What could be the problem?
Regards,
Nirmal
|
|
|
Re: SWT Browser does not navigate links [message #632884 is a reply to message #632532] |
Thu, 14 October 2010 10:43  |
Eclipse User |
|
|
|
This looks like a bug, I've logged
https://bugs.eclipse.org/bugs/show_bug.cgi?id=327786 .
Grant
"Nirmal Sasidharan" <nirmalts@yahoo.com> wrote in message
news:i9426r$bhk$1@news.eclipse.org...
> Hello,
>
> I have created a SWT browser component and set the contents using
> setText() method. The HTML content has some anchors which point to some
> locations within the document. For example,
>
> <a href="#ModelArchitecture">Model Architecture</a>
> ..
> <h1 id="ModelArchitecture">Model Architecture</h1>
>
> When I click on the link, instead of navigating, it displays a blank page
> with contents as
> blank#ModelArchitecture
>
>
> However, the navigation works if I save the same contents to a file and
> set the content using setUrl().
>
> Also the above problem occurs only on Windows (XP, SP3, IE6). The
> navigation works perfectly file on OSX Safari.
>
> What could be the problem?
>
> Regards,
> Nirmal
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.17379 seconds