Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT Browser does not navigate links
SWT Browser does not navigate links [message #632532] Wed, 13 October 2010 10:41 Go to next message
Nirmal Sasidharan
Messages: 120
Registered: July 2009
Location: Germany
Senior Member
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

Re: SWT Browser does not navigate links [message #632884 is a reply to message #632532] Thu, 14 October 2010 14:43 Go to previous message
Grant Gayed is currently offline Grant Gayed
Messages: 2151
Registered: July 2009
Senior Member
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
>
>
Previous Topic:JDK 7 on Windows: No aero styled widgets
Next Topic:Table with scrollbar
Goto Forum:
  


Current Time: Thu Oct 23 17:58:54 GMT 2014

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

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