[gatein-issues] [JBoss JIRA] Updated: (GTNPORTAL-1471) Setting gadget user preferences triggers update of portal page content

Jon Kranes (JIRA) jira-events at lists.jboss.org
Fri Sep 10 12:33:49 EDT 2010


     [ https://jira.jboss.org/browse/GTNPORTAL-1471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jon Kranes updated GTNPORTAL-1471:
----------------------------------

    Description: 
The underlying problem appears to be that invoking the gadgets.Prefs.set function triggers an ajax request to the server (via the ajaxGet method in PortalHttpRequest.js).  The response content returned by the server then causes the portal page content to be replaced with content in the response.  Any gadgets on the page are completely re-initialized and any transient state they previously had (such as items entered in the ToDo list above) is lost.

The replacement of the page's content is both unnecessary and undesirable, as demonstrated by the example above. Users will naturally assume that gadgets function independent of one another, so having one gadget suddenly lose its data due to an action taken in another gadget seems contrary to the intent of the gadget paradigm.

  was:
The underlying problem appears to be that invoking the gadgets.Prefs.set function triggers an ajax request to the server (via the ajaxGet method in PortalHttpRequest.js).  The response content returned by the server then causes the portal page content to be replaced with content in the response.  Any gadgets on the page are completely re-initialized and any state they previously had (such as items entered in the ToDo list above) is lost.

The replacement of the page's content is both unnecessary and undesirable, as demonstrated by the example above. Users will naturally assume that gadgets function independent of one another, so having one gadget suddenly lose its data due to an action taken in another gadget seems contrary to the intent of the gadget paradigm.



> Setting gadget user preferences triggers update of portal page content
> ----------------------------------------------------------------------
>
>                 Key: GTNPORTAL-1471
>                 URL: https://jira.jboss.org/browse/GTNPORTAL-1471
>             Project: GateIn Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.1.0-GA
>            Reporter: Jon Kranes
>
> The underlying problem appears to be that invoking the gadgets.Prefs.set function triggers an ajax request to the server (via the ajaxGet method in PortalHttpRequest.js).  The response content returned by the server then causes the portal page content to be replaced with content in the response.  Any gadgets on the page are completely re-initialized and any transient state they previously had (such as items entered in the ToDo list above) is lost.
> The replacement of the page's content is both unnecessary and undesirable, as demonstrated by the example above. Users will naturally assume that gadgets function independent of one another, so having one gadget suddenly lose its data due to an action taken in another gadget seems contrary to the intent of the gadget paradigm.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the gatein-issues mailing list