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.
The latest sources are here: http://jupiter.cz.oracle.com/wiki/pub/Netbeans/EaselDemoScriptJavaOne2012/EaselDemo_Template.zip
Also need to replace the REST service call by a mock - Lada was looking into this.
web-main#ddf4d518a854
Integrated into 'main-golden', will be available in build *201211220002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/ddf4d518a854 User: Denis Anisimov <ads@netbeans.org> Log: Fix for BZ#221517 - Update Rabbits sample to the latest sources
The REST demo is not working, it still tries to call e.g. http://localhost:8080/RestDemo/resources/manufacturer Either it should be updated (add JSON files to the project) or removed from project at all. I think that RESTful JavaScript Client could be included as well. Product Version: NetBeans IDE Dev (Build web-main-9296-on-20121121) Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b16 System: Linux version 3.2.0-33-generic-pae running on i386; UTF-8; en_US (nb)
(In reply to comment #4) > The REST demo is not working, it still tries to call e.g. > > http://localhost:8080/RestDemo/resources/manufacturer > > Either it should be updated (add JSON files to the project) or removed from > project at all. I think that RESTful JavaScript Client could be included as > well. > > > Product Version: NetBeans IDE Dev (Build web-main-9296-on-20121121) > Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04 > Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b16 > System: Linux version 3.2.0-33-generic-pae running on i386; UTF-8; en_US (nb) I'm not an author of the sources. I have no idea what the sample do. I'm just providing NB functionality that creates the project. The issue description contains only link with sources without any additional information. Please provide another sources or describe how the sample could be changed to get it correct. >Also need to replace the REST service call by a mock - Lada was looking into >this. I suppose this is task for you.
OK, if you want I can upload modified version where it works
(In reply to comment #6) > OK, if you want I can upload modified version where it works It would be great. Thank you very much !
Created attachment 128246 [details] updated sample project Here it is. Changes in brief: - data requested from server are now saved in /rest folder as static JSON - I updated REST endpoints to be relative so it should work no matter what Web root or port is set and - added REST client tableui.html and link to top navigation bar - added BackboneJS library (for the REST Client) - changed the getLanguage() function so it shows English text by default
Reopening, thanks
web-main#180b81c6f94a
thanks, verified. Product Version: NetBeans IDE Dev (Build web-main-9317-on-20121123) Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b16 System: Linux version 3.2.0-33-generic-pae running on i386; UTF-8; en_US (nb)
Integrated into 'main-golden', will be available in build *201211250002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/180b81c6f94a User: Denis Anisimov <ads@netbeans.org> Log: Fix for BZ#221517 - Update Rabbits sample to the latest sources