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
>

Reply via email to