|
Re: Script in AbstractBrowser [message #905077 is a reply to message #903473] |
Wed, 29 August 2012 12:37  |
Eclipse User |
|
|
|
Hi Marcelo
I think I'm going to need some more information. I made a quick application with a BrowserField.
@Order(10.0)
public class JSBrowserField extends AbstractBrowserField {
@Override
protected int getConfiguredGridH() {
return 10;
}
@Override
protected int getConfiguredGridW() {
return 2;
}
@Override
protected boolean getConfiguredLabelVisible() {
return false;
}
@Override
protected void execInitField() throws ProcessingException {
setLocation("http://www.webkit.org/perf/sunspider-0.9.1/sunspider-0.9.1/driver.html");
}
}
The site was opened in the Field with js working fine. But I fear this is not what you wanted.
So please, could you elaborate your case a little more.
Ah, one more thing. The BrowserField isn't working in Swing in the Version 3.8.0. Eclipse Scout 3.8.1 and 3.9 will provide the SwingScoutBrowserField in a separate bundle: org.eclipse.scout.rt.ui.swing.browser.swt.fragment. This because it uses SWT to display the browser.
Greetings and thanks
Stephan
|
|
|
Powered by
FUDForum. Page generated in 0.04197 seconds