On 12/01/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > + B) From within the java/gadgets directory run the following commands > + i) Copy the sample container code into the webapp directory so that > the > + shindig server will serve it for you. > + cp -r ../../javascript/container/ src/main/webapp/ > + cp -r ../../javascript/samplecontainer/ src/main/webapp/
For Windows I needed to use: mkdir src\main\webapp\container mkdir src\main\webapp\samplecontainer copy ..\..\javascript\container src\main\webapp\container copy ..\..\javascript\samplecontainer src\main\webapp\samplecontainer + C) Hit the sample container at > + > http://yourserver:yourport/gadgets/samplecontainer/samplecontainer.html Does not work for me on either IE 6.0.2900 or Firefox 2.0.0.11 (windows). It loads the gadget in both instances, but... Errors in Firefox as page loads: Error: Constructors can't be called as simple functions: function Number() { [native code] } Source File: http://localhost:8080/gadgets/ifr?url=http%3A%2F%2Fhosting.gmodules.com%2Fig%2Fgadgets%2Ffile%2F117247905274371511495%2Fcaja-clickme.xml&synd=gadgets&mid=0&parent=&ogc=localhost:8080&up_sign=Capricorn Line: 3551: Error: window.console has no properties Source File: http://localhost:8080/gadgets/ifr?url=http%3A%2F%2Fhosting.gmodules.com%2Fig%2Fgadgets%2Ffile%2F117247905274371511495%2Fcaja-clickme.xml&synd=gadgets&mid=0&parent=&ogc=localhost:8080&up_sign=Capricorn Line: 9262 Clicking "Click" in Firefox: Error: obj has no properties Source File: http://localhost:8080/gadgets/ifr?url=http%3A%2F%2Fhosting.gmodules.com%2Fig%2Fgadgets%2Ffile%2F117247905274371511495%2Fcaja-clickme.xml&synd=gadgets&mid=0&parent=&ogc=localhost:8080&up_sign=Capricorn Line: 3950

