A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
JSF
Author
JSF display panelgroup when timed out
Niall Loughnane
Ranch Hand
Joined: Dec 07, 2006
Posts: 200
posted
Sep 05, 2012 13:10:30
0
Hi,
any pointers on this would be great,
i would like to display a panelgroup when a timeout occurs,
i am using the following code for the idleMonitor timeout:
<p:idleMonitor timeout="10000" onidle="idleDialog.show()" onactive="idleDialog.hide()"/> <p:dialog header="What's happening?" resizable="false" widgetVar="idleDialog" modal="true" width="400"> <h:outputText value="Dude, are you there?" /> </p:dialog>
and using the following for the panel group:
<h:panelGroup layout="block" class="info_row"> <h:panelGroup class="label"> Name </h:panelGroup> <h:panelGroup class="value lightblue"> <h:outputText value="#{beanName.name}"/> - <h:outputText value="#{beanName.id}"/> </h:panelGroup> </h:panelGroup>
how can i merge the 2 together so the panelgroup only displays after a certain timeout period?
Thanks
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: JSF display panelgroup when timed out
Similar Threads
PrimeFaces - DataModel not being refreshed when NextPageLink or PageLinks clicked
Cant get my datatable to update [PRIMEFACES]
jsf panelGrid
DataModel not being refreshed when NextPageLink or PageLinks clicked
Represent Inheritance of Domain model in JSF
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter