Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » JQuery file support in Mulit-page Editor plugin(JQuery file support in Mulit-page Editor plugin)
JQuery file support in Mulit-page Editor plugin [message #1125207] Fri, 04 October 2013 09:13
rs rs is currently offline rs rsFriend
Messages: 1
Registered: October 2013
Junior Member

I am facing the issue on Multi-page editor plugin development. I want this plugin to support jquery. It is supporting Javascript functions using import "". But it is not supporting Jquery functions.

I am calling Jquery file for some text convertion using jquery code when opening perview mode in Multi-page editor. But the following error throws.


BufferedReader script = new BufferedReader(new FileReader("mapBuilder.js"));
Context context = Context.enter();
ScriptableObject scope = context.initStandardObjects();
context.evaluateReader(scope, script, "script", 1, null);
Function fct = (Function)scope.get("buildMap", scope);
String editorText =
Object result =, scope, scope, new Object[] {editorText});
//System.out.println(Context.jsToJava(result, int.class));


Error i got: ReferenceError: "$" is not defined. (script#18)

Please help me solve this problem.

Thanks in Advance
Previous Topic:Broker Nagivator location URI
Next Topic:Newcomer
Goto Forum:

Current Time: Thu Mar 04 01:43:13 GMT 2021

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

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

Back to the top