portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Sean Taylor (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] [Resolved] (JS2-845) Can you add auto refresh in jetspeed?
Date Sat, 27 Jun 2015 22:04:04 GMT

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

David Sean Taylor resolved JS2-845.
    Resolution: Fixed

 To enable auto-refresh for a portlet, add an entry in portlet.xml like <js:metadata name="refreshRate">30000</js:metadata>.
An optional refreshFunction can also be provided. If a function is not provided, the portlet
pipeline is called for a portlet window automatically. A auto-refresh function can be provided,
<js:metadata name="refreshFunction">ForgottenPasswordComponent.refresh</js:metadata>.
Both global and module functions are supported. Module functions should be provided as Module.Function.
Angular functions are also supported: <js:metadata name="refreshFunction">angular:memoryController</js:metadata>
by prefixing with angular:, and provided the controller div id for an angular controller.
A $scoped function named refresh() with no parameters is require

> Can you add auto refresh in jetspeed?
> -------------------------------------
>                 Key: JS2-845
>                 URL: https://issues.apache.org/jira/browse/JS2-845
>             Project: Jetspeed 2
>          Issue Type: New Feature
>          Components: Ajax
>            Reporter: Alan luo
>            Assignee: David Sean Taylor
>             Fix For: 2.3.0
> Currently I think jetspeed does not have auto-refresh function. Auto refresh will refresh
the portlet by the interval.  Now that jetspeed is using dojo i think it is good to have this

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org

View raw message