outputProgress


The outputProgress component can be used to report outputprogress to users in cases where a long running server-side task is necessary. This component can be run in either of two modes; "determinate" and "indeterminate".

Determinate mode should be used in cases where the number of steps or units of work in a long-running process are known. In determinate mode (default) the outputProgress component renders a outputprogress bar that indicates the completion percentage for a task. Typically, the outputprogress bar will gradually outputprogress from 0 to 100 % complete in incremental steps determined by the application.

Indeterminate mode should be used in cases when it is not possible to predicate how long a long-running process will take to complete, or how many steps or units of work are required to complete the task. In indeterminate mode the outputProgress component renders an animated icon or outputprogress bar that indicates generally that  activity is taking place.

Example of a determinate mode outputProgress

The following code shows how to create a determinate outputProgress component:

<ice:outputProgress id="pb"
value="#{outputprogress.percent}"
action="#{outputprogress.action}"
rendered="#{outputprogress.percent > 0}"
/>
Example of a indeterminate mode outputProgress

The following code shows how to create an indeterminate outputProgress component:

<ice:outputProgress id="pb"
indeterminateActiveClass="outputProgressIndeterminateActiveClass"
indeterminateInactiveClass="outputProgressIndeterminateInactiveClass"
bgStyleClass="bgStyleClass"
fillStyleClass="fillStyleClass"
textStyleClass="textStyleClass"
label= "loading..."
labelPosition="right"
value="#{outputprogress.percent}"
/>

Tag Summary
tag-name:
<ice:outputProgress>
tag-class:
com.icesoft.faces.component.outputprogress.OutputProgressTag
component-class:
com.icesoft.faces.component.outputprogress.OutputProgress
component-type:
com.icesoft.faces.Progress
component-family:
com.icesoft.faces.Progress
renderer-class:
com.icesoft.faces.component.outputprogress.OutputProgressRenderer
renderer-type:
com.icesoft.faces.Bar