Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Accessing the HTML source code of the content of a BrowserField?
Accessing the HTML source code of the content of a BrowserField? [message #1463507] Thu, 06 November 2014 16:35
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
I am in a SWT Scout Application.

I have a Browser Field in my form. Location is set with:
getBrowserField().setValue(null);
getBrowserField().setLocation("http://www.eclipse.org/scout");


Is there a way to access the HTML Source code contained in the Browser?

It seems to me that I want to access:
SwtScoutBrowserField.getSwtField().getText()

from the Scout Model...

From what I can tell the problem is that
IBrowserFieldUIFacade.fireAfterLocationChangedFromUI(String)

Only notify the Scout Model with the Location as String and not with the Text content (what would be nice).


The only way I see is to work with a custom field (extending SwtScoutBrowserField) in our application.

Have you other ideas?

[Updated on: Thu, 06 November 2014 16:45]

Report message to a moderator

Previous Topic:Duplicate @ClassId value 'X' in type ...
Next Topic:Question about Activator template in SDK
Goto Forum:
  


Current Time: Thu Mar 28 19:37:12 GMT 2024

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

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

Back to the top