使用LaunchPopupListener过滤Input Text with LOV(3)
来源:互联网 发布:wav播放软件 编辑:程序博客网 时间:2024/05/17 07:10
运行环境:JDeveloper 11.1.2.2.0 + Oracle Database 10g Express Edition 10.2.0.1。
使用Input Text with LOV组件时,点击按钮会显示LOV的查询结果。
如果需要通过程序设置查询条件,可以定制LaunchPopupPopupListener。
与前两个实验不同的地方是:这次在LOV对应的VO上定义了一个ViewCriteria和参数。
重要步骤说明:
1. 修改LOV对应的VO,增加ViewCriteria和参数定义
2. Managed Bean 代码
3. 运行
和第1个实验一样,显示MinSalary>5000的记录。
使用Input Text with LOV组件时,点击按钮会显示LOV的查询结果。
如果需要通过程序设置查询条件,可以定制LaunchPopupPopupListener。
与前两个实验不同的地方是:这次在LOV对应的VO上定义了一个ViewCriteria和参数。
重要步骤说明:
1. 修改LOV对应的VO,增加ViewCriteria和参数定义
2. Managed Bean 代码
public void jobIdLaunchPopupListener(LaunchPopupEvent launchPopupEvent) { BindingContainer bindings = getBindings(); JUCtrlListBinding lov = (JUCtrlListBinding)bindings.get("JobId"); lov.getListIterBinding().getRowSetIterator().getRowSet().setNamedWhereClauseParam("bv_minSalary", new Integer(5000)); //lov.getListIterBinding().getViewObject().setNamedWhereClauseParam("bv_minSalary", "5000"); ViewCriteriaManager vcm = lov.getListIterBinding().getViewObject().getViewCriteriaManager(); ViewCriteria vc = vcm.getViewCriteria("JobsViewCriteria"); lov.getListIterBinding().getViewObject().applyViewCriteria(vc); }
3. 运行
和第1个实验一样,显示MinSalary>5000的记录。
Project 下载:ADF_LOV_InputText(6).7z
http://maping930883.blogspot.com/2012/08/adf189launchpopuplistenerinput-text.html
0 0
- 使用LaunchPopupListener过滤Input Text with LOV(3)
- 使用LaunchPopupListener过滤Input Text with LOV(1)
- 使用LaunchPopupListener过滤Input Text with LOV(2)
- 使用LaunchPopupListener过滤Input Text with LOV(4)
- 使用Input Text with LOV 实现LOV
- 使用Input Text with LOV 实现显示名称保存ID
- 使用ReturnPopupListener接收Input Text with LOV的返回值
- 使用Input Text with LOV + Transient Attribute 实现显示名称保存ID
- 使用LauchPopupListener过滤lov数据
- 使用LauchPopupListener过滤lov数据
- 使用LauchPopupListener过滤lov数据
- 使用LauchPopupListener过滤LOV数据
- LOV 之Text Field LOV
- Notification Bubble with Text Input Control.(MFC)
- jquery: input text with array name selector
- 2.19 Accepting User Text Input with UITextField
- input text 事件(转)
- Get text from Input field in Unity3D with C#
- 使用LaunchPopupListener过滤Input Text with LOV(1)
- Ajax 三级联动,处理xml格式数据
- POJ训练计划2516_Minimum Cost(网络流/费用流)
- 使用LaunchPopupListener过滤Input Text with LOV(2)
- java中while语句加不加{}的区别
- 使用LaunchPopupListener过滤Input Text with LOV(3)
- c++:stack
- 串操作应用举例(文本编辑)
- 一元N次多项式的表示及相加
- 使用LaunchPopupListener过滤Input Text with LOV(4)
- jQuery选择器总结
- iOS NSData探秘
- HDU-#2044-2050 递推求解专题
- Task Flow使用指南之六:Reentry