You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Boris (JIRA)" <ji...@apache.org> on 2008/09/15 22:15:44 UTC
[jira] Created: (SHINDIG-602) User preferences
User preferences
----------------
Key: SHINDIG-602
URL: https://issues.apache.org/jira/browse/SHINDIG-602
Project: Shindig
Issue Type: Bug
Environment: all
Reporter: Boris
For some reason, when using
var prefs = new gadgets.Prefs();
the values are populated only if they are present in the URL. If I am not trying to overwrite default values, the prefs is an empty object.
When I look at the javascript implementation, I can see that it uses only URL variables to populate.
When I started digging into java implementation, I can see that createGadgetFromSpec method in the Gadget server class invokes UserPrefSubstituter, which is correctly populating Substitutions class with the parameters from URL, but I do not see where this variables are used. The gadget spec does not reflect these variables.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.