You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by ben bonfil <be...@labpixies.com> on 2008/09/04 10:59:42 UTC

Default values for User Prefs

Hi,
I'm trying to understand how userprefs get their default value, as it
doesn't happen right now in my shindig setup.
I know UserPrefs are supposed to be passed in the gadget's iframe url as
up_name=value paramaters, and that is what happens for prefs that are set by
the gadget, but not on the first load ( I guess that's cookiebasedprefs.js
work )

I noticed that iGoogle also passes prefs in a js array together with
messages from the message bundle, why is that so?

I've looked it up in Partuza's code, and I found out the iframe is generated
by php, which is something I'd like to avoid. I'm using js code derived from
SampleContainer.

I found out that there's a js function that is supposed to retrieve the
UserPrefs for the gadget url, but I did not understand how.

I'd appreciate any help.

Ben Bonfil
LabPixies