The error you point at was the error being thrown prior to @724493. It indicates the gadget is getting cajoled but the container is not being setup correctly.
Just to be sure - I did a clean check out of shindig and build of shindig and did not see this problem. Please be sure your build is up to date: 1. There should be a file features/caja/caja.js 2. Your local maven repo should have pulled and be using Caja r3043 ie. ~/.m2/repository/caja/caja/r3034/ should contain a pom and a jar. If both of these hold and you're still having problems, could you send me the generated ifr page and I can help work out where the problem lies. On Fri, Dec 12, 2008 at 1:55 AM, Astha Bhatnagar < [email protected]> wrote: > hi Jasvir, > I tried as you suggested.. but still some javascript error is coming out > there > > IMPORTS___.getIdClass___ is not a function > (?)()(Object sharedImports=Object obtainNewModule=Object, Object cajita= > Object false=false true=true NaN=NaN)ifr?cont...396095689 (line 2404) > handleUncaughtException()()ifr?cont...396095689 (line 1481) > callPub()ifr?cont...396095689 (line 1439) > loadModule()ifr?cont...396095689 (line 1485) > (?)()ifr?cont...396095689 (line 2367) > IMPORTS___.emitCss___...n}' ].join(IMPORTS___.getIdClass___())); > > I just added <Require feature="caja" /> to socialhelloworl.xml and run the > samplecontainer, nothing else. > > > On Fri, Dec 12, 2008 at 1:52 PM, Jasvir Nagra <[email protected]> wrote: > > > The patch was applied @724493. > > > > There is no need to set any additional variables - just require the caja > > feature. While not all opensocial api calls are currently supported, it > > certainly should not (and does not) break any tests. > > > > In particular, adding <Require feature="caja" /> to SocialHelloWorld.xml > > should give you a running cajoled hello world gadget. > > > > On Thu, Dec 11, 2008 at 10:13 PM, Astha Bhatnagar < > > [email protected]> wrote: > > > > > I don't think that recent patch is applied till yet. I have tried to > > apply > > > the patch for me and see if it is running, but didn't work. I just want > > to > > > confirm that to enable caja in sample container we need to set true > > > enablecaja in config/container.js and > > > features/opensocial-current/features.xml add caja dependency, right? > but > > > when I do so the java shindig build fails with following test case > > errors. > > > Tests in error: > > > fetchPerson(org.apache.shindig.server.endtoend.EndToEndTest) > > > fetchPeople(org.apache.shindig.server.endtoend.EndToEndTest) > > > notFoundError(org.apache.shindig.server.endtoend.EndToEndTest) > > > badRequest(org.apache.shindig.server.endtoend.EndToEndTest) > > > internalError(org.apache.shindig.server.endtoend.EndToEndTest) > > > testTemplates(org.apache.shindig.server.endtoend.EndToEndTest) > > > > > > > > > could ouy please tell me what I am missing? > > > > > > On Tue, Dec 9, 2008 at 2:38 AM, Jasvir Nagra <[email protected]> > wrote: > > > > > > > Hi, > > > > > > > > You're right - api changes on caja were primarily responsible for > this > > > > break. This is filed as Issue 654 and I've updated the patch that > > > restores > > > > the caja + shindig integration and added cajaTest to hopefully > prevent > > > > future breakage. > > > > > > > > Regards > > > > Jas > > > > > > > > Hi jasvir, > > > > > > > > > > > > > Mon, Dec 8, 2008 at 4:47 AM, haris al <[email protected]> wrote: > > > > > > > > > Hi > > > > > > > > > > I tried to execute cajolised gadget samples coming with shindig > > > > trunk.The > > > > > samplecontainer examples are not working with cajolized one > > > > > > > > > > regards > > > > > > > > > > > > > > >

