Hi Augstin, great to see you working on this.
You may also want to have a look at https://issues.apache.org/jira/browse/SHINDIG-1008 There is already some work done there. The initial idea by impetus was to have a small, lightweight Java service which can be accessed through Telnet to Cajole the HTML output of a gadget. With some adjustments I got this to work with the current Shindig Trunk and a newer Caja Version some months ago. Another aproach could possibly be to use the new Caja Endpoint of the Java Shindig (http://svn.apache.org/viewvc?view=revision&revision=1043815), but I haven't had the time to look into it yet. Cheers Bastian 2011/1/4 ๏̯͡๏ Jasvir Nagra <[email protected]> > Hi Agustin, > > This error occurs when the valija has not be set up by the host page. The > host page loads caja, sets up the dom, and tames and exposes new functions. > A trivial host page is: > > http://google-caja.googlecode.com/svn/trunk/src/com/google/caja/demos/container/container-trivial.html > . > It cajoles and renders gadget-trivial.html inline. More information on > host tools is available at > http://code.google.com/p/google-caja/wiki/HostTools. > > The caja corkboard demo does something very similar to what you'd like to > do > albeit with html rather than gadgets. You may find the the corkboard wiki > page helpful http://code.google.com/p/google-caja/wiki/CorkboardDemo. > > Jas > > On Mon, Jan 3, 2011 at 5:39 AM, Agustin Casiva <[email protected] > >wrote: > > > Hello, I'm working integrating Caja to the PHP Version of Shindig. > > > > The idea is cajoled the Gadget trought the comand line utility and then > > run the cajoled gadget (as a first aproach, at least) > > > > To cajoled the Gadget I use caja-r4052, and for the runtime I use > > domita-minified and valija.out. > > > > I have a problem, when I'm trying to execute the gadget I got this error > in > > Chrome > > > > Uncaught TypeError: Cannot call method 'getOuters' of undefined > > > > And this in Firefox > > $v is undefined > > $dis = $v.getOuters(); > > > > Any help is welcome > > > > Thanks in advance. > > > > -- > > > > Ing. Casiva Agustin > > > > Mail/Msn/GTalk/Jabber: [email protected] > > Skype: casivaagustin > > CEL : 054-03722-15270639 > > Site: http://www.casivaagustin.com.ar > > >
