You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Neil (JIRA)" <ji...@apache.org> on 2008/04/07 13:28:24 UTC
[jira] Created: (SHINDIG-181)
gadgets.IfrGadget.prototype.getIframeUrl funtion in gadgets.js does not
create correct default prefs for gadget
gadgets.IfrGadget.prototype.getIframeUrl funtion in gadgets.js does not create correct default prefs for gadget
---------------------------------------------------------------------------------------------------------------
Key: SHINDIG-181
URL: https://issues.apache.org/jira/browse/SHINDIG-181
Project: Shindig
Issue Type: Bug
Environment: Windows XP, BEA weblogic 9.2
Reporter: Neil
Priority: Minor
The gadgets.IfrGadget.prototype.getIframeUrl function in gadgets.js uses the getUserPrefsParams() function to setup the default user prefs for the gadget, when creating the iFrame.
However, this function uses the gadgets.container.userPrefStore object to obtain the prefs. Until the 'save' button on the settings dialog has been explicitly clicked - after the gadget has been rendered to the browser - the gadgets.container.userPrefStore will be empty for this gadget.
The gadgets.container.userPrefStore should be initialised for this gadget with the default user prefs given in the gadget spec, if any.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SHINDIG-181)
gadgets.IfrGadget.prototype.getIframeUrl funtion in gadgets.js does not
create correct default prefs for gadget
Posted by "Kevin Brown (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Brown updated SHINDIG-181:
--------------------------------
Component/s: Sample container & Examples
> gadgets.IfrGadget.prototype.getIframeUrl funtion in gadgets.js does not create correct default prefs for gadget
> ---------------------------------------------------------------------------------------------------------------
>
> Key: SHINDIG-181
> URL: https://issues.apache.org/jira/browse/SHINDIG-181
> Project: Shindig
> Issue Type: Bug
> Components: Sample container & Examples
> Environment: Windows XP, BEA weblogic 9.2
> Reporter: Neil
> Priority: Minor
>
> The gadgets.IfrGadget.prototype.getIframeUrl function in gadgets.js uses the getUserPrefsParams() function to setup the default user prefs for the gadget, when creating the iFrame.
> However, this function uses the gadgets.container.userPrefStore object to obtain the prefs. Until the 'save' button on the settings dialog has been explicitly clicked - after the gadget has been rendered to the browser - the gadgets.container.userPrefStore will be empty for this gadget.
> The gadgets.container.userPrefStore should be initialised for this gadget with the default user prefs given in the gadget spec, if any.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.