Skip to main content

jmaki dojo.table example broken

8 replies [Last post]
suds
Offline
Joined: 2006-11-14

Hi,

The jMaki dojo.table example isnt working!? I'm using Firefox on Linux.
http://www.javaserver.org/jmaki/dojo/table.jsp

Doesnt look like a browser problem as I can see the table demo from dojo site correctly. Anyone else has the same problem?

cheers
suds.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
suds
Offline
Joined: 2006-11-14

Thanks for sorting it out. However, couple of problems with jsf version.
1. there is a typo in .jsp name, that should be table-jsf.jsp
2. If I directly go to the jsf page, I get the following error.
Error loading http://www.javaserver.org/jmaki/resources/dojo/table/component.js (line:12). name:TypeError id:j_id_id18
error: rows has no properties

gmurray71
Offline
Joined: 2003-07-31

There was a problem with the JSF component setting the service also as the value. I've fixed it in the code and deployed a working version.

suds
Offline
Joined: 2006-11-14

Greg...the problem seems to be still there on the demo page! I'll try the CVS version and let you know.

gmurray71
Offline
Joined: 2003-07-31

I'm seeing it work. You might want to try clearing your cache on your browser and giving the URL another try. I've had cached versions hang around and cause problems.

If that is still a problem can you let me know more about what version of Firefox you are using?

suds
Offline
Joined: 2006-11-14

Greg,

I've tried with Firefox 2.0 Ubuntu-Linux, Firefox 2.0 WinXp,
Internet Explorer 6 and can confirm the problem is still there.

BTW, I'm referring to the JSF version of it (http://www.javaserver.org/jmaki/dojo/table-jsf.faces) as I mentioned in my 3rd post. The JSP version works fine.

I wish I know javascript to debug.

gmurray71
Offline
Joined: 2003-07-31

Sorry not to see that it was JSF in the previous post.

I reworked the JSF component. There was a problem with services being written when there were not any.

Give it a try now.

http://www.javaserver.org/jmaki/dojo/table-jsf.faces

Thank you for pointing this out.

gmurray71
Offline
Joined: 2003-07-31

It's working now.

gmurray71
Offline
Joined: 2003-07-31

The books.json is not being found. You can see the 404 error if you use firebug.

http://www.javaserver.org/jmaki/dojo/books.json.

I'll get this fixed soon.