This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
It looks like this tutorial (Creating and Consuming RESTful Web Service jMaki Components) fails under NetBeans 6.5, although 6.5 is listed as supported (using all components downloaded under All distribution). No errors until "Testing the jMaki Client Stubs" section. Running TestResourcesTable.jsp produces a web page with the following error: Unable to find widget constructor for jmaki.widjets.dojo.rest.customerstable.Widget Looks like pre-existing error: http://forums.java.net/jive/thread.jspa?messageID=260926 If correct, perhaps the tutorial should mention limitations. My environment: Windows XP SP 3 Firefox 3.0.4 Netbeans IDE 6.5 (Build 200811100001) Java 1.60_04; Java Hotspot Client VM 10.0-b19
What version of jMaki plugin are you using? This tutorial was tested repeatedly on NetBeans 6.5 and worked correctly, however I see that there is a new version of the jMaki plugin.
I just tried it on almost the same system, but running Java 1.6.0_07. I also get an error, but a different one! I get "Error reading data store, please check URL ..." However, when I check the URL, the XML file is there. Am adding Lukas Jungmann to this bug. Lukas, are you the right person to check this?
Latest jmaki plugin does not include the 'old' dojo 0.4.3 library... You can still dowload is via https://ajax.dev.java.net/source/browse/*checkout*/ajax/ws/lib/dojo/jmaki-dojo-1.8.0.zip?rev=1.8 Put the zip somewhere, and then install this lib to NetBeans via Tools | Palette| Add jMaki library and navigate to this zip file and install it. Restart the IDE to complete the lib installation. I'll see if we can add it by default or if the gen code could rely on a more modern dojo lib (dijit)
or test the nightly jmaki nbm from https://ajax.dev.java.net/servlets/ProjectDocumentList?folderID=7943&expandFolder=7943&folderID=0
NB 6.5 RESTful client stub testing was done against 1.8.0 version released on 08/14. The latest release of jMaki 1.8.1 which came after NB6.5 has dojo 0.4.3 removed. I think short term solution is to get jMaki updated with dojo 0.4.3 back to where it used to be. Long term upgrade the RESTful widget to dojo 1.0.x. I have filed an issue against jMaki, see below https://ajax.dev.java.net/issues/show_bug.cgi?id=375
Closing this as fixed, since the dependent issue 154282 is fixed.