IBM Worklight Rich Page Editor Issue - ibm-mobilefirst

Eclipse: Kepler Service Release 2
IBM Worklight: 6.1
My issue is with the rich page editor in worklight. I'm able to see design view with IE selected but upon switching to FireFox i get continuous Loading... The design view in Firefox view never loads. According to worklight documentation Firefox should be part of the product installation so i would think this should be straight forward.

Are you using the 64bit flavor of Eclipse in Windows? If using 64bit, then the Safari and Firefox buttons will not work correctly. This is a known limitation of the Rich Page Editor.
Related user documentation topic:
Browser requirements for Rich Page Editor
To make it work, you need to install the 32bit flavor of Eclipse.

Related

Does it exist a Weblogic plug-in for Java Mission Control 7.1.2?

The previous version of JDK Mission Control 5.5.2 bundled with Oracle JDK 7 had the possibility to add a WebLogic plug-in, which allows viewing the SQL queries, servlets between other components as seen in this image.
Then the new JDK Mission Control 7.1.2+b04 doesn't seem to have a similar plug-in or at least it's more complicated to apply it.
When trying to investigate, the JMC is pointing to
https://download.oracle.com/technology/products/missioncontrol/updatesites/oracle/7.1.2/ide/update-site-instructions/index.html
stating that the plugin must be installed via Eclipse 4.8 or later, so the latest Eclipse is 2012-12 was installed, and then the plugin with https://download.oracle.com/technology/products/missioncontrol/updatesites/oracle/7.1.2/ide/ as well, as seen in this image:
The Eclipse IDE was restarted and now it got a new icon in the menu bar:
which connects (or at least it tries to connect) with the Java processes running in this local station:
but that's not the WebLogic plug-in I expected, similar to the one available in the previous version of JMC.
Does it exist a WebLogic plug-in in JMC7.1.2 similar to the existing in JMC5.5.2?
To install WebLogic plug-in for JMC, go to Help menu and select Install New Software menu item. Expand "Mission Control (Oracle)" and then "Flight Recorder" and you will find "WebLogic Pages" plug-in. Follow the instructions on screen to complete installation of plug-in.
This is described in the Oracle JMC 7 User Guide under Install JMC Standalone Application in the "Install Plug-ins for JMC Standalone Application" sub-section.

JProfiler standalone, how to open code in Eclipse

I'm evaluating JProfiler 9.
I successfully install Eclipse 4.4 plugin (at least it said so) from JProfiler's standalone app.
However I cannot do what has been explained here. I cannot seem to find the "Profiling" perspective in my Eclipse.
That being the case, how can I view source codes in Eclipse instead of JProfiler's own viewer?
There is no "profiling perspective" in eclipse. Under "Window->Customize perspective" you can add the profile actions to your current perspective, so you get the profile actions in the "Run" menu.

worklight embedded browser not working

I have worklight up and running with the "hello world" example running in a Linux environment using instructions from here: http://www.ibm.com/developerworks/mobile/worklight/getting-started.html
But, I can't see the application design because worklight can't load the embedded browser:
Clicking 'additional information' took me to another useless screen:
So, then I pointed to an external browser (chrome in my case),
but still no result:
Then attempting to use the worklight 'console', yields this:
How do I fix this?
This is what you need. You need to manually force a xulrunner version to use.
By "embedded browser" I'm guessing it is trying to open a browser window inside Eclipse...
You can go to Eclipse preferences and search for "web browser". There, change the default browser to your preferred external browser.
Next, or in addition, you can just right-click on the Worklight project and select "Open Worklight console". From there you can click on the "preview common resources" or the environment icon (if you added any) and preview.
The answer has nothing to do with worklight: Eclipse doesn't just "dump" your external browser into an eclipse window.
It uses the webkit libraries to construct a browser frame inside eclipse so that you can interact with it.
For Linux users, you need to make sure the webkit libraries are installed correctly in Linux before Eclipse can discover and use them properly. Heres some instructions:
For me, this was as simple as
sudo apt-get install libwebkit-1.0-0
Followed by restarting Eclipse.

where to locate and add dojo toolkit to our project in worklight

I have recently downloaded Worklight in Eclipe Juno SR2.I am creating a Hybrid App but cannot find option to add dojo toolkit anywhere like i had in the previous version of Worklight.
Assuming that Dojo Toolkit Support was checked when installing Worklight from the marketplace, when you create a Hybrid Application, click the button Configure JavaScript Libraries.... You should then be presented with a dialog with contents similar to previous versions of Worklight. Click Add Dojo Toolkit from there and click Finish.
After doing this, the wizard should update saying "Optional JavaScript Libraries: Dojo Toolkit".
See the following training modules:
http://public.dhe.ibm.com/software/mobile-solutions/worklight/docs/v610/03_03_Working_with_UI_frameworks.pdf
http://www.ibm.com/developerworks/mobile/worklight/getting-started.html

What IDE's are available for writing google chrome apps?

I want to start writing a google chrome app but I'd like to use an IDE. Searching around I haven't come up with much. Most of my search results are IDEs that are chrome apps rather than for chrome apps. Does anyone have a suggestion? (I realize I don't /need/ an IDE but I want to know what my options are)
Happy to report that Google is now working on an open-source IDE specifically targeted at Chrome app development, codenamed Spark. See this announcement on thenextweb.com for example. You can find the code on GitHub here. The IDE is in a very early stage, but progressing quickly. There are no firm plans yet as to when an initial public release in Chrome Web Store will become available, but if you're interested, you can follow announcements on the GitHub page.
UPDATE (08/12/2014): Spark has been officially announced at Google I/O 2014 and released to the public as Chrome Dev Editor. Install it in your Chrome from Chrome Web Store.
To build a Chrome app, you just use the typical client-side web development stack--HTML, CSS, and JavaScript. This means you can use any IDE you would use for building a web front end like WebStorm, Eclipse, Sublime Text, etc.
You can also build Chrome apps with Google Dart, which means you could also use Dart Editor along with WebStorm and the Dart Plugin for Eclipse.
I started Xpom-Xpum! SDK project — a free and open-source IDE for Google Chrome extensions and apps.
If you interested, you can download it and it's C# code (MIT License) by link http://xpomxpum.codeplex.com/
But now I released it's Alpha version only...