Hi Paul,

I have tried to use JQuery in my gadget. If I just running it in plain mode, it 
worked fine. 
But it seems like my gadget which contains JQuery cannot be rendered 
successfully in caja mode.

It always tell me following error:
ERROR 
http://localhost:9090/gadgets/concat?container=default&amp%3bgadget=http%3A%2F%2Flocalhost%3A9090%2Fsamplecontainer%2Fexamples%2FZuora%5fHelloWorld.xml&amp%3bdebug=0&amp%3bnocache=0&amp%3btype=js&amp%3b1=http%3A%2F%2Flocalhost%3A9090%2Fsamplecontainer%2Fexamples%2Fopensocial-jquery.templates.js:1+1
 - 2: Unexpected token <:

I have no idea what's going on.

In additon, I think shindig or Caja has some limitation on JQuery. right? 
That's why JQuery.com developed a plugin which is named OpenSocial jQuery 
Templates  to support shindig. (http://plugins.jquery.com/taxonomy/term/3374)  
But even if I use this Jquery library, I still got above error.

Could you please guide me?

Thanks,
Xianyi.Ye




发件人: Paul Lindner 
发送时间: 2010-09-01  14:27:01 
收件人: users 
抄送: 
主题: Re: Re: Help:Do we need to install caja component seperatly? 
 
Xianyi, you can use jquery with your gadgets or you can integrate the
container javascript with jquery.
On Tue, Aug 31, 2010 at 9:19 PM, xianyi.ye <[email protected]> wrote:
> Hi Paul,
>
> Thank you for your reply last week.
>
> Currently, we also want to use JQuery in our Shindig. Do you know is that
> feasible?
> And could you please tell us if Shindig has integrated with the whole Caja
> or just included part of Caja components?
>
> Thanks for your help. Your help will really improve our work.
>
>
> Thanks,
> Xianyi.Ye
>
>
>
>
> 发件人: Paul Lindner
> 发送时间: 2010-08-25  13:37:48
> 收件人: users
> 抄送:
> 主题: Re: Help:Do we need to install caja component seperatly?
>
> Hi,
> Are you using the Java or PHP shindig version?
> The Java version has caja support included
> 2010/8/24 xianyi.ye <[email protected]>
> > Hi,
> >
> > Currently, we need to build up a Shindig Server as our testing env. In
> > addition, we want to use Caja feature.
> > Could you please tell me that do we need to install caja component
> > seperatly? Or our Shindig server has integrated Caja Component, so we
> > needn't do it again?
> >
> > Please guide us.
> > Your help will be really appreciated.
> >
> > Thanks,
> > Xianyi.Ye
> >
> --
> Paul Lindner -- [email protected] -- linkedin.com/in/plindner
>
-- 
Paul Lindner -- [email protected] -- linkedin.com/in/plindner

Reply via email to