| | | | Browse by category |
Question
After setting the Blink properties on JViews graphic objects in setBlinkingOnPeriod()
and setBlinkingOffPeriod()
, the object stops blinking on JSF page. How to have blinking objects when integrating JViews application on JSF pages?
Answer
This is a limitation due to the way the JSF pages are being created.
The JSF Server creates a static image that is being provided to the browser when you start the server.
If the image needs to be changed (example, when one object switches its visibility to blink), you need to recreate a new image and push it again from the server.
To do so, you can use the updateInterval
JSF tag for automatic updates, or you can use the ICE Faces 's Push Update feature.
The interval for the update needs to be similar to the blinking interval.