I have a html page which uses the html5 canvas. When I open this page in Eclipse 4.5.2 on Windows and Mac OS Internal Web Browser it shows me the canvas and other things defined correctly. However when I tried the same on Linux (Eclipse 4.5.2) the internal web browser showed me all other contents except for the html5 canvas.
Please could you help me understand why the Linux variant of Eclipse does not show html5 contents in the internal web browser. What am I missing?
Thank you.
The problem was with xulrunner version.
I used the xulrunner version 24 and specified the following arguments in the vm arguments tab of the run launch configuration and it worked!
-Dorg.eclipse.swt.browser.DefaultType="mozilla"
-Dorg.eclipse.swt.browser.XULRunnerPath="pathToXulRunner"
OR you can do that same by setting the System property through your java code
System.setProperty("org.eclipse.swt.browser.XULRunnerPath", "pathToXulRunner");
and then use the SWT.MOZILLA flag to create browser
eg Browser b = new Browser(parent, SWT.MOZILLA);
Cheers
-Kapil
Related
We're trying to show a web page on pepper's tablet, but something goes wrong. How can we get the browser's error messages to debug the web page?
We know js 1.5 is implemented, so we installed all kind of polyfills for Promises, forEach, etc. But no luck. How can we get meaningful debugging info?
thx
Sven
I create a git for showing a web page and send event with the module ALMemory ( see it for an example). For debugging, it is more complicated but you can also try this. You can create a template for showing web page and connect directly it to your robot. For example, you install it on your pc and create a web-page template with python jumpstart.py service-tabletpage my-package-name MyServiceName. A package will be create in a file output. Open this app on choregraphe and install it on the robot. You can after that launch on your computer the web page (double click on index.html, name by default) and just adding at the end of the url ?robot=ip_of_the_robot. You can now debug your code.
I'm Using eclipse(Version: Kepler Service Release1) and I want to set firefox(26.0 or latest) as the internal web browser. Is it possible change/update the internal web browser in eclipse(linux) ?
IMHO NO. Currently internal web browser is a plug-in in eclipse NOT fully featured web browser. But you can associate HTML/HTM files to be opened directly in Firefox. Refer below picture
I have tried using the Tincr Chrome Extension now on Windows and Linux (Ubuntu) and it still does not seem to do the Live Reloading it claims to on its website when I am editing the file in an external editor. The Tin.cr website claims:
Any CSS or JavaScript changes you make in any editor reloads in Chrome
without refreshing the whole page
To explain further, I have tried installing this extension as an unpacked extension in Chrome with Developer Mode checked under chrome://chrome/extensions/ as suggested in the Tincr documentation. I have also tried installing this extension directly through the Chrome Web Store. The effect has been the same.
In terms of setting up Tincr, I have tried opening up my file locally without a web server using file://C:/htdocs/file.html which Tincr claims in its documentation it can read automatically without needing any setup, and also I have tried opening up my file via an Apache Web Server on localhost e.g. localhost/file.html and setting up the Project Type in Tincr as Http Web Server as suggested in the documentation, but both ways have been to no avail.
In terms of editing my local file, I have used a number of different external editors, for example, Geany on Ubuntu and Titanium Studio on Windows.
After editing the file in the editor I have left the page I am editing open in my Chrome browser with the Tincr plugin setup and enabled. However, after saving my file in the editor and looking to see if it live reloads in Chrome, nothing happens. The file simply stays the same. Again, to reiterate, this is happening in both Windows and Linux (Ubuntu).
And so my question is this: has anyone successful tried using this extension with an external editor and if so could you please detail the steps to get live reload to work as I'm beginning to think this may be a bug in the extension?
I think I may have an explaination. Having a look at the google groups for Tincr, it appears Tincr does not support html file refresh, and that it can only detect changes in either css or javascript.
source: https://groups.google.com/forum/#!topic/tincr-for-chrome-devtools/VyC0mavLs_A
I have created an extension library component but my XPages Extension Library is working on my local Notes Browser. If I run my XPage in notes itself it works fine.
When I run it in the browser I get the following error is thrown:
Cannot find the library com.example.blank.library, required by the application /ForLearnCopy.nsf.
What does this mean, and how can I solve it? Thanks!
You have to install your plugin like a server plugin.
Have a look here:
Running XPages Extension Library on local machine
Hope this helps
Sven
Ramakumar,
check the documentation of the extension library. It shows nicely what you have to do to get a plugin working everywhere. There are 3 places:
install using an update site in Notes client - to work in the Notes client. Usually ends in NotesData/workspace/applications
install into NotesData/domino/workspace/applications (look for plugins/features folder there) - to make it work on the local browser preview
in the Domino server (use the updatesite.nsf and the right parameter)
Hope that helps
I am trying to display a twitterBox inside a webview in a JavaFx 2.0 web application. Is there any know problems with trying to do this? When I launch the application from my desktop the script shows up but from the browser it doesn't load the script.
You need to sign your application.
Being run in browser JavaFX applications falls under restrictions of Java plugin and you twitterBox can't connect to another domain twitter.com.
If you are using NetBeans you can self-sign application in Project Properties.
Otherwise look here: http://docs.oracle.com/javafx/2.0/deployment/javafx_ant_task_reference001.htm#CIAJGAFH