PPR的使用学习
来源:互联网 发布:仿站长工具网站源码 编辑:程序博客网 时间:2024/04/27 16:38
Using the simplest form of cross-component rendering, one component, referred to as the target component, is rerendered when any event occurs on another component, referred to as the trigger component.
Trigger components must inform the framework that a PPR request has occurred. On command components, this is achieved by setting the partialSubmit
attribute to true
. Doing this causes the command component to fire a partial page request each time it is clicked.
For example, say a page includes an inputText
component, a commandButton
component, and an outputText
component. When the user enters a value for the inputText
component, and then clicks the commandButton
component, the input value is reflected in the outputText
component. You would set the partialSubmit
attribute to true
on the commandButton
component.
However, components other than command components can trigger PPR. ADF Faces input and select components have the ability to trigger partial page requests automatically whenever their values change. To make use of this functionality, use the autoSubmit
attribute of the input or select component so that as soon as a value is entered, a submit occurs, which in turn causes a valueChangeEvent
event to occur. It is this event that notifies the framework to execute a PPR, as long as a target component is set. In the previous example, you could delete the commandButton
component and instead set the inputText
component's autoSubmit
attribute to true
. Each time the value changes, a PPR request will be fired.
如果在POPUP里的BUTTON不用partialSubmit的话,POPUP里的inputtext的validator无法显示出error message,且inputext 的初始值不会去更新
partialTrigger是触发器,比如把buttion的id设为panalbox的partialTrigger值,点button会触发panalbox的值改变
- PPR的使用学习
- 使用Enumeration检查页面PPR事件
- ADF 10g PPR局部刷新使用
- Oracle ADF PPR属性的疑问
- PPR热熔接水龙头,与程序员的未来
- PP管和PPR管的区别在哪
- ppr管件,管材
- ADF 局部刷新 PPR小结
- TROUBLESHOOTING: Servelet Exception during PPR, #1...#n
- ADF控件之绑定后台局部刷新 (PPR)
- ADF FACES 部分页面渲染(PPR)技术
- 学习组件的使用:
- 学习gridview的使用
- memcpy的使用学习
- 学习IHttpHandler的使用 。
- 学习Intent的使用
- 学习Intent的使用
- Libtool的学习使用
- 儿子的照片
- 电子商务加密标准——名词解释
- 名词解释
- 09-05-17日记
- MIDlet 调用WEB Service的三种方式(详细介绍一种更好用的哦!)
- PPR的使用学习
- HTML target标签frame
- 域名争议裁决案例
- c#重载窗体关闭事件,遍历文件件下所有文件(及子目录),
- 汇编实现16位有符号二进制数排序并输出
- 关于WAP网站后台的网站信息配置的去BUG
- 获取实时股票数据与股票数据接口API
- Spring资料
- Spring2.5+Struts2+Ibatis整合之四