[jira] [Resolved] (JS2-845) Can you add auto refresh in jetspeed?
"David Sean Taylor (JIRA)" <[email protected]>
| Newsgroups | gmane.comp.jakarta.jetspeed.devel |
|---|---|
| Message-ID | <[email protected]> |
[ 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 feature.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)