Skip to main content

JMaki Test

2 replies [Last post]
Joined: 2006-07-19
Points: 0

Hi All

I am new to JMaki, and I wanted to try it on my own web application, I did the following, as described in tutorials:

1. I created a context called testJMaki.
2. Inside my context, I created a resources folder and put inside the needed widget, which is fisheye and its related resources.
3. I put the needed jar files in WEB-INF/lib directory

When I ran the test page, I got the following error message:

Error loading jmaki.widgets.dojo.fisheye.Widget : id=dojo_fisheye1
Script: http://localhost:8080/testJmaki/index.jsp (line:2).
Message: Object expected

any help please??

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-07-31
Points: 0

Hi jotnarta,

It seems you've got almost everything right. The general application structure is listed here:

Do you have correct resources under /resources/dojo ? If you don't have these present you can unzip the /widgets/ file and copy the /resources into the resources directory of your web application.

I suspect that the /resources/dojo/fisheye directory is not there.

We also have plugins for both Eclipse and Netbeans which automatically copy in everything into your applicaiton.

Let me know if this does not work, or better yet you could send a war file and I could see what is wrong with it.

gmurray71 (a)

Joined: 2006-07-19
Points: 0

Thank you Greg

I did copy the resources folder with all its conent. but I got the error that i shown above, regarding NetBeans, I worked in the plugin and it worked fine. But what I am trying to do, is use this feature in my website, like clock, fisheye, and other available widgets.

I have under resources folder the fisheye folder, that contains the three necessary files, and under resources i put the "jmaki.js" file. And here is the contents of my jsp file; "index.jsp":

<%@ taglib prefix="a" uri="http://jmaki/v1.0/jsp" %>


Dojo Fish Eye List Test

Back to Samples

label : 'You are here!',
action : { topic : '/fisheye/greg', message : { value : 'hi greg'}}
{ iconSrc:'',
label : 'test3',
action : { topic : '/fisheye/roberto', message : { value : 'hi roberto'}}
{ iconSrc:'',
label : 'test4',
href : ''


I suspect with web.xml file, i think that some modifications must be made to the web.xml file, here is the web.xml file entry:

Dojo Tests


jMaki Controller Servlet

jMaki Controller Servlet


What do you suggest???

Thank you again for your time Greg :)