NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

how to autorefresh a jsf page in portlet, more specifically autorefresh a woodstock table in portlet

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
jyeary



Joined: 21 Oct 2008
Posts: 612
Location: Simpsonville, SC

PostPosted: Sun Sep 20, 2009 9:33 pm    Post subject: how to autorefresh a jsf page in portlet, more specifically autorefresh a woodstock table in portlet Reply with quote

See if JSF Extensions (Dynamic Faces) can help.

https://jsf-extensions.dev.java.net/

You should check out the Currency Trader application

http://www.netbeans.org/kb/55/vwp-instcurrencytrader.html

John

On Wed, Sep 16, 2009 at 9:20 PM, Jianhui Jin <address-removed ([email]address-removed[/email])> wrote:
Quote:
Hi All

Is there a way to autorefresh a woodstock table in a portlet, so the
table can show updated information from database: throw a timer to
rerender the whole page in backbean? or use javascript to refresh the
node in a loop? For javascript, I need to have button to trigger it,
which won't be ideal.


Many thanks to any helps.

Jin



--
John Yeary
--
http://javaevangelist.blogspot.com

"Far better it is to dare mighty things, to win glorious triumphs, even though checkered by failure, than to take rank with those poor spirits who neither enjoy much nor suffer much, because they live in the grey twilight that knows not victory nor defeat."
-- Theodore Roosevelt
Back to top
Jianhui Jin
Posted via mailing list.





PostPosted: Mon Sep 21, 2009 12:09 am    Post subject: how to autorefresh a jsf page in portlet, more specifically autorefresh a woodstock table in portlet Reply with quote

Thanks a lot, John, Don't know how to use it yet, but look like a
great stuff, why Google didn't show me that? Haha, Jin

On Mon, Sep 21, 2009 at 5:33 AM, John Yeary <address-removed> wrote:
Quote:
See if JSF Extensions (Dynamic Faces) can help.

https://jsf-extensions.dev.java.net/

You should check out the Currency Trader application

http://www.netbeans.org/kb/55/vwp-instcurrencytrader.html

John

On Wed, Sep 16, 2009 at 9:20 PM, Jianhui Jin <address-removed> wrote:
Quote:

Hi All

Is there a way to autorefresh a woodstock table in a portlet, so the
table can show updated information from database: throw a timer to
rerender the whole page in backbean? or use javascript to refresh the
node in a loop? For javascript, I need to have button to trigger it,
which won't be ideal.


Many thanks to any helps.

Jin



--
John Yeary
--
http://javaevangelist.blogspot.com

"Far better it is to dare mighty things, to win glorious triumphs, even
though checkered by failure, than to take rank with those poor spirits who
neither enjoy much nor suffer much, because they live in the grey twilight
that knows not victory nor defeat."
-- Theodore Roosevelt
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo