Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Exception with anchors in HtmlField
Exception with anchors in HtmlField [message #1133210] Fri, 11 October 2013 13:44 Go to next message
Uli B is currently offline Uli B
Messages: 25
Registered: January 2012
Junior Member

I have an HtmlField displaying html containing local links of the form

<A href="#anchor">
<A name="anchor">

When clicking on the link I get

       at org.eclipse.scout.rt.client.ui.form.fields.htmlfield.AbstractHtmlField.doHyperlinkAction(
       at org.eclipse.scout.rt.client.ui.form.fields.htmlfield.AbstractHtmlField$P_UIFacade.fireHyperlinkActionFromUI(
       at org.eclipse.scout.rt.ui.swing.form.fields.htmlfield.SwingScoutHtmlField$
       at org.eclipse.scout.rt.ui.swing.concurrency.SwingScoutSynchronizer$1.runVoid(
       at org.eclipse.scout.rt.client.ClientJob.runStatus(
       at org.eclipse.scout.rt.client.ClientJob.runTransactionWrapper(

In standard browsers everything works perfect. What can I do to get this work in the HtmlField?
Re: Exception with anchors in HtmlField [message #1197158 is a reply to message #1133210] Tue, 19 November 2013 14:43 Go to previous message
Lukas Huser is currently offline Lukas Huser
Messages: 41
Registered: March 2010
Hi Uli

It seems that your use case is simply not implemented for the Swing UI Sad (I verified that it works with the SWT and RAP clients.)

The current implementation for the Swing UI always assumes a valid URL as the link target, ignoring the possibility of local anchors. It should be technically feasible to implement this feature (scrolling to a local anchor) also for the Swing client.

Would you mind opening a Bugzilla ticket?

Previous Topic:Switch Tabs programatically
Next Topic:Table in Table Column
Goto Forum:

Current Time: Thu Aug 21 04:29:19 EDT 2014

Powered by FUDForum. Page generated in 0.02118 seconds