Hey Chris,

thanks for your fast answer.... see my comments below, hope you can
help me .-)


>
> Are you manually including shindig's javascript code from your gadget, or
> what javascript code is coming from where?

Exactly.
the current shindig Service is running locally for the moment at
http://localhost:8080/ShindigTest/

my widget is at another domain and includes all the single js files,
here are a few as an example:
                "js/opensocial/opensocial.js",
                "js/opensocial/container.js",
                "js/opensocial/activity.js",

but theres a load more .-)

I'm not using the gadget stuff, so no xml Module etc.

inside the widget there's for example something like this:

        init: function(){
                ShindigContainer = function() {
                  JsonRpcContainer.call(this, 
"http://localhost:8080/ShindigTest/
social", "");
                };
                ShindigContainer.inherits(JsonRpcContainer);
                opensocial.Container.setContainer(new ShindigContainer());

                this.getData();
        },

        getData: function(){
                var req = opensocial.newDataRequest();
                var idspec = opensocial.newIdSpec({ "userId" : "myuserid",
"groupId" : "FRIENDS" });

                var field_params = {};
                field_params
[opensocial.DataRequest.PeopleRequestFields.PROFILE_DETAILS] =
[opensocial.Person.Field.PHONE_NUMBERS,
opensocial.Person.Field.DRINKER];


                 req.add(req.newFetchPersonRequest("a...@gypsii", field_params),
"get_owner");
                var params = {};
                params[opensocial.DataRequest.PeopleRequestFields.MAX] = 50;
                params[opensocial.DataRequest.PeopleRequestFields.FILTER] =
opensocial.DataRequest.FilterType.HAS_APP;
                params[opensocial.DataRequest.PeopleRequestFields.SORT_ORDER] =
opensocial.DataRequest.SortOrder.NAME;
                
params[opensocial.DataRequest.PeopleRequestFields.PROFILE_DETAILS] =
                          [opensocial.Person.Field.ID, 
opensocial.Person.Field.NAME,
opensocial.Person.Field.CURRENT_LOCATION];

                req.add(req.newFetchPeopleRequest(idspec, params), 
'ownerFriends');
                Req.Send( [this,this.onLoadFriends] );
        },



I will have a look at code.google.com/p/partuza now, it sounds a bit
like it could answer many questions i have... thanks for the hint.

regards
Andi
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial Application Development" group.
To post to this group, send email to opensocial-api@googlegroups.com
To unsubscribe from this group, send email to 
opensocial-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to