outputConnectionStatus


The component displays information about the status of the network connection between the client browser and the server. The component displays one of 4 possible states, which are as follows.

  1. Active: The connection is alive and there is a request pending
  2. Inactive: The connection is alive and there is no pending activity
  3. Caution: The connection request/response latency has exceeded the configured threshold. Indicates that asynchronous updates from the server may not be received in a timely manner
  4. Disconnected: The connection has been lost, either due to network or application error (session expiry, etc.).
The component provides an ideal mechanism to provide continuous real-time feedback to users of the status of their ICEfaces application. It is particularly important to inform users when the application is busy sending and receiving data in response to a user-initiated action to manage their expectations with respect to application readiness for additional user input. Generally, the component should be located in a consistent location throughout an ICEfaces application.

NOTE: A web-page should only contain a single component. Using more than one component on the same web page will result in erratic results.
Example with labels
<ice:
    cautionLabel="Caution: Connection in danger."
    activeLabel="Active: Working."
    disconnectedLabel="Disconnected."
    inactiveLabel="Active: Idle."
/>
Example without labels
<ice:/>
Tag Summary

tag-name:
<ice:>
tag-class:
com.icesoft.faces.component..Tag
component-class:
com.icesoft.faces.component..
component-type:
com.icesoft.faces.OutputConnectionStatus
component-family:
javax.faces.Panel
renderer-class:
com.icesoft.faces.component..Renderer
renderer-type:
com.icesoft.faces.OutputConnectionStatusRenderer