You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by shepy <vl...@yahoo.com> on 2007/12/19 14:50:18 UTC

Force portlet to render

Hi,

    I have a portlet which needs to render itself periodically (every x
minutes) because the view depends on database information which is
permanently changed. How can i achieve this? 

Thanks.
-- 
View this message in context: http://www.nabble.com/Force-portlet-to-render-tp14417241p14417241.html
Sent from the Jetspeed - User mailing list archive at Nabble.com.


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


Re: Force portlet to render

Posted by Deeþan Chakravarthy <co...@gmail.com>.
shepy wrote:
> Hi,
>
>     I have a portlet which needs to render itself periodically (every x
> minutes) because the view depends on database information which is
> permanently changed. How can i achieve this? 
>
> Thanks.
>   
You can do this using JavaScript..  write a JS function that will 
refresh the page every x minutes.. 

-- 
Deepan 
http://codeshepherd.com/
http://codeshepherd.blogspot.com/
http://sudoku-solver.net/


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


Re: Force portlet to render

Posted by shepy <vl...@yahoo.com>.
There is another issue. When I'm redirecting to page (psml) containing
tapestry portlets the portles are not re-rendered. Even when i refresh page
(in browser - Ctrl+F5) rendering is not invoked. How can i force tapestry
portlet to re-render itself. 
-- 
View this message in context: http://www.nabble.com/Force-portlet-to-render-tp14417241p14661467.html
Sent from the Jetspeed - User mailing list archive at Nabble.com.


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


RE: Force portlet to render

Posted by "Ford, Jennifer M." <JE...@SOUTHERNCO.COM>.
I use a meta tag for content refresh on those, but it will re-render the
whole page, not just the portlet.

<meta http-equiv="refresh" content="300;" />  <!-- will refresh every 5
minutes -->

-----Original Message-----
From: shepy [mailto:vladoseprak@yahoo.com] 
Sent: Wednesday, December 19, 2007 7:50 AM
To: jetspeed-user@portals.apache.org
Subject: Force portlet to render


Hi,

    I have a portlet which needs to render itself periodically (every x
minutes) because the view depends on database information which is
permanently changed. How can i achieve this? 

Thanks.
--
View this message in context:
http://www.nabble.com/Force-portlet-to-render-tp14417241p14417241.html
Sent from the Jetspeed - User mailing list archive at Nabble.com.


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


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