Hi everyone,

I am using "shindig-2.0.0-source.zip" (JAVA) downloaded from [1]. Going
through the samples available via [2], I'm getting several errors which
I have problems dealing with on my own - especially regarding the
UserPreferences (sample 4 and 5).
Both Samples procude the following error (using Firefox 3.6.12 + Firebug
1.5.4):

> expect_true(true, 'setprefs done'); 
>
> expect_true is not defined
> http://localhost:8080/gadgets/ifr?container=default&mid=0&nocache=1&country=ALL&lang=ALL&view=default&parent=http%3A%2F%2Flocalhost%3A8080%2Fcontainer%2Fsample5.html%3A%2F%2Flocalhost%3A8080&st=john.doe:john.doe:appid:cont:url:0:default&url=http%3A%2F%2Fwww.google.com%2Fig%2Fmodules%2Ftest_setprefs_multiple_ifpc.xml#rpctoken=670388631
> Line 40

and

> this.userPrefs[arguments[i]].value = arguments[i + 1]; 
>
> this.userPrefs is undefined
> http://localhost:8080/gadgets/js/shindig-container:rpc.js?c=1&debug=1
> Line 5796

I have already successfully implemented my own PersonService to retrieve
Person Data from my backend-db. The gadget-renderer is up and running
just fine and I have already implemented my own gadgets (testing my
gadgets in iGoogle). Sadly, having the users store preferences is
crucial to my gadgets and my backend to I'm somehow stuck.

I could not find documentation on the further steps in ceating my own
OpenSocialBackend using Shindig - the getting-started [3] just states
that I should implement "PersonService, AppDataService, ActivityService,
MessagesService" which is no problem for me, however I'm asking myself
if I should/could implement my own PrefStore using the backend Database
on my server (and how).

Also, sample2 and 6 produce the following error (same setting as above):
> for(var i = 0; i < arr.length; i++) { 
>
> arr is undefined
> http://localhost:8080/gadgets/js/shindig-container:rpc.js?c=1&debug=1
> Line 6266

I would really appreciate your help since shindig 2.0 so far has really
proven very very useful to me and I'm looking forward to fully integrate
shindig into my social network.

Best,
Peter

[1] http://shindig.apache.org/download/index.html
[2] http://localhost:8080/container/
[3] http://shindig.apache.org/getting-started.html

Reply via email to