You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rave.apache.org by "Scott Wilson (JIRA)" <ji...@apache.org> on 2012/08/03 15:05:02 UTC

[jira] [Closed] (RAVE-743) Add a widget to a page without requiring a page refresh

     [ https://issues.apache.org/jira/browse/RAVE-743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Wilson closed RAVE-743.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 0.15
         Assignee: Scott Wilson

I've implemented this using a JSP "partial" view for rendering the widget block on the server side, then include this in the client side by adding a successCallback from the RPC api call to rave.renderNewWidget.

For example, a client would call:

rave.api.rpc.addWidgetToPage({widgetId: 30, pageId: 1, successCallback:  rave.renderNewWidget });
                
> Add a widget to a page without requiring a page refresh
> -------------------------------------------------------
>
>                 Key: RAVE-743
>                 URL: https://issues.apache.org/jira/browse/RAVE-743
>             Project: Rave
>          Issue Type: Story
>          Components: rave-core, rave-web
>            Reporter: Scott Wilson
>            Assignee: Scott Wilson
>             Fix For: 0.15
>
>
> As a developer of a portal UI, I would like to have the option for adding widgets using a widget store without navigating to a new page and then refreshing the original space, for example using a lightbox. The widget would be added to the current page immediately without requiring a page refresh.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira