Hey arlo,

The best place to get support for partuza is at it's google group:
http://groups.google.com/group/partuza

In this case, the jquery.all.js file is a combination of both the base
jQuery library, a jQuery json class, the jQuery.class extension and
jQuery.ui. (Hence the 'all' name of the file:)

http://www.partuza.nl/js/container.js uses at least the jQuery base, json
and class extensions, so that's why if you only use jQuery it'll break.

Now I used the class extension because I have a long history with
prototype.js, and like that way of doing JavaScript classes, but there's no
need to duplicate that exactly, the important bit of that container.js file
is:

                // rpc services our container supports
                gadgets.rpc.register('resize_iframe', this.setHeight);
                gadgets.rpc.register('set_pref', this.setUserPref);
                gadgets.rpc.register('set_title', this.setTitle);
                gadgets.rpc.register('requestNavigateTo', 
this.requestNavigateTo);

And how you implement those functions, and if you want to do that in a class
or with a framework, is entirely up to you.

So the short term fix is probably to include the json and class jQuery
extensions in your code as well, but please also feel free to write your own
implementation if it's not entirely your flavor :)

Good luck & feel free to ping the partuza list if you run into any other
issues,

   -- Chris

On Tue, May 5, 2009 at 5:31 PM, arlo <[email protected]> wrote:

>
> Hi,
>
> My opensocial site is so far based on partuza code.
> So I also took javascript includes from it. But there is something i'm
> doing wrong.
> The problem is with jquery. If I include jquery.all.js from partuza,
> applications are working, but then my existing jquery looses ajax
> functionality. If I don't include jquery.all.js then applications
> don't work.
>
> Is thre anything I can include so the container.js work which is not
> jquery.
>
> Here's what I include:
> http://shindig/gadgets/js/rpc.js?c=1
> jquery.all.js // this is the problem, took it from partuza
> container.js // also took it from partuza
>
> Thanks!
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Implementing OpenSocial Containers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/opensocial-container?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to