Skip to main content

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 17:44 Go to next message
Uli B is currently offline Uli BFriend
Messages: 36
Registered: January 2012

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 19:43 Go to previous message
Lukas Huser is currently offline Lukas HuserFriend
Messages: 42
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: Tue May 26 18:21:46 GMT 2020

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

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

Back to the top