ICEFaces Note(6)

简介: ICEFaces Note(6) ——Progress Bar Component进度条组件 outputProgress组件能用于向用户报告进度,表明服务端任务运行需要多长时间。

ICEFaces Note(6)
——Progress Bar Component进度条组件


outputProgress组件能用于向用户报告进度,表明服务端任务运行需要多长时间。这个组件能运行在两种模式下:“determinate”模式和“indeterminate”模式。
(1)“determinate”模式:用于反映在运行过程中的步数或单元数。该模式为缺省模式,呈现一个输出进度条指示任务完成的百分比。最典型的是从0%到100%的显示进度。
----------------------------
    labelComplete="#{progressProperty.progressCompleteLabelAfter}"
    labelPosition="#{progressProperty.labelPosition}"
    binding="#{progress.progressBar}"/>
----------------------------
(2)“indeterminate”模式:用于无法预测运行的过程需要的时间的情况,或者是无法预测完成任务需要的步骤数的情况。此模式下,该组件呈现一个活动条,指示活动正在进行。
----------------------------
    indeterminate="true"
    label="#{progressProperty.progressLabelAfter}"
    labelComplete="#{progressProperty.progressCompleteLabelAfter}"
    labelPosition="#{progressProperty.labelPosition}"
    value="#{progressIndeterminate.percent}"/>
----------------------------
属性介绍:
(1)binding
这个值绑定表达式连接组件到一个backing bean的属性上。
(2)id
是组件标识符。在封闭的父组件级内,这个值是唯一的。
(3)indeterminate
对未知任务运行时进度条隐藏百分比。
(4)label
缺省为百分比值。可自定义label。
(5)labelComplete
任务完成时显示的label。缺省值为“Done”。
(6)labelPosition
百分比文本显示的位置。可以设置值为:left左,right右,top顶部,topcenter(进度条上方正中),topright(进度条上方靠右),bottom底部,bottomcenter(进度条下方正中),bottomright(进度条下方靠右),embed(嵌入到进度条中)。
(7)rendered
指示是否显示该组件。
(8)renderedOnUserRole
如果用户是指定角色,则该组件将正常显示。
(9)style
此组件的CSS风格应用。
(10)styleClass
用空格分隔的CSS style类的应用。这个值通过“class类“属性传递。
定义其使用的所有风格的类名,缺省值为:iceOutProg。
iceOutProg,iceOutProgBg,iceOutProgTxt。
标准模式:iceOutProgFill
Indeterminate模式:iceOutProgIndetActv(在执行期间),iceOutProgIndetInactv(任务完成后)。
(11)value
绑定到application bean。

目录
相关文章
PAT (Advanced Level) Practice - 1014 Waiting in Line(30 分)
PAT (Advanced Level) Practice - 1014 Waiting in Line(30 分)
95 0
|
测试技术
Note tool
Sent: Monday, March 23, 2015 2:56 PM https://dewdfgwd:2030/sap/bc/ui5_ui5/sap/znotetool/index.html?sap-client=001&sap-ui-language=EN&sap-ui-appcache=false 把Opportunity,(或者lead,Appointment,task)ID输入,点submit,就能看到下面挂着的note全部的technical information了 后台只能连AG3哈,这个是拿来做单元测试的。 GM6/001 tcode SE80:
133 0
Note tool
header note truncation issue - designed behavior
header note truncation issue - designed behavior
85 0
header note truncation issue - designed behavior
2015-03-17 current note creation logic in my task
2015-03-17 current note creation logic in my task
87 0
2015-03-17 current note creation logic in my task
Cannot find source code based button in SE24 - modification assistant
Cannot find source code based button in SE24 - modification assistant
124 0
|
前端开发 开发工具 git
|
安全 Java C++
Note
开发分布式应用distributed;强类型机制 异常处理exception except 垃圾的自动收集java对通过网络下载的类具有安全防范机制通过网络下载的类有一个安全防范机制;classLoader;分配不同的名字空间以防替代本地的同名类,字节代码检查,并提供安全管理机制SecurityMa...
1038 0
|
Web App开发 Java
The project was not built due to "Could not delete ''.". Fix the problem, then try refreshing this p
版权声明:本文为 testcs_dn(微wx笑) 原创文章,非商用自由转载-保持署名-注明出处,谢谢。 https://blog.csdn.net/testcs_dn/article/details/45935015 ...
959 0