Hey Justin,

Thank you for the quick answer.
I found the lines in shindig-container.js that you are talking about but
I am not sure if I get the whole setup correct. As a first step, I don't
need persistent storage of the prefs - I would be happy to just get the
prefs dialog to appear. I have attached my html-File to this post -
maybe that helps to understand my setup.

Currently, I am using the mentioned "setUserPref" in
shindig-container.js which sadly produces the error described in my last
mail (this.userPrefs is undefined on line 5796 - which is taken from
shindig-container.js, line 212) so I guess the basic functionality
should work and should just be missing the persistence. So the handler
should be registered and actually is called.

In another (older) setup, using
shindig-server-1.1-BETA6-incubating-SNAPSHOT.war, the above (i.e.
without persistence) is working fine and it is even showing the
"Preference" Button + Dialog in the rendered gadget. For this, I'm using
the sample4.html code from the old shindig, including the "cookies.js",
"gadget.js" and "util.js" from the "container" (samples) directory of
shindig 1.1.

Reading your mail I am starting to think that I may be missing a great
deal of information about shindig. Could you point me to some ressources
for setting up the gadget-rendering/javascript-feature part of shindig?

> I assume your gadget has <Require feature="setprefs"/>?
I tried both (desperate me!) - with or without, doesnt make a difference
concerning the error message in FireBug.

Regards,
Peter

Reply via email to