ADF: row.attributeName vs. row.bindings.attributeName
来源:互联网 发布:程序员的薪资 编辑:程序博客网 时间:2024/06/11 19:48
在ADF页面上有两种EL的引用af:tree,af:treeTable,af:table的数据集合的方式。
一种是#{row.attributeName},另一种是#{row.bindings.attributeName.inputValue}。
这两者的区别是:前者是只读的 而后者是可读写的。前者只是将该属性以字符串的形式返回,该EL的返回值是一个String类型,
后者则不同,#{row.bindings.attributeName}是一个Attribute Binding, 在运行时是一个FacesCtrlAttrsBinding 类的实例,该类是框架内部使用的类,继承了JUCtrlAttrsBinding。所以只要表格需要更新,就应该使用{row.bindings.attributeName.inputValue}。
另外一个例子是#{node.attributeName},node表示了树组件中的一个节点,可以对应到table组件的row。
- ADF: row.attributeName vs. row.bindings.attributeName
- Row
- entity.GetAttributeValue<T>(attributeName)的使用总结
- column vs. row
- Set Processing vs Row Processing
- 给ADF BC EO Row或Attribute添加Custom异常
- Statement-based vs Row-based Replication
- JSP自定义标签中不能使用<%=request.getSession.getAttribute("attributeName")%>
- 行主序 vs 列主序 Row Major vs Column Major Vector
- 行主序 vs 列主序 Row Major vs Column Major Vector
- row.rowKeyStr
- row Explosion
- Row Header
- Chained row
- Back Row
- ROW MOVEMENT
- Keyboard Row
- Keyboard Row
- 创建随机目录及目录树函数
- poi创建excel工作表表名为中文
- Java的内存泄漏
- 节点流 处理流
- 简单工厂模式与工厂方法模式大PK
- ADF: row.attributeName vs. row.bindings.attributeName
- MSSQL生成表数据SQL插入语句的存储过程
- SQL Server中区分大小写
- CInternetSession(获取网页源码)
- 关于struts2 if标签的一些使用方法
- De Morgan's laws
- 如何在Ubuntu11.10 下安装kscope
- Javascript加入收藏夹代码
- Jdev11g性能调优