在TABLE中设置行的poplist的值跟着当前行的某些列动态变化

来源:互联网 发布:进程调度c语言代码 编辑:程序博客网 时间:2024/04/27 16:05
 OAAdvancedTableBean table = (OAAdvancedTableBean)webBean.findChildRecursive("TimeEntryTbl");     //获得table Bean对象 OAMessageChoiceBean elePoplist = (OAMessageChoiceBean)table.findChildRecursive("ElementSelect");  // 获得table中的子bean 对象   elePoplist.setListVOBoundContainerColumn(0, table, "EmployeeGroupName");     //设置 elePoplist.setPickListCacheEnabled(false); //清除vo的缓存
//setListVoboundContainerColumn 参数解释:
bindIndex - the bind variable index in the poplist view object
webBeanContainer - the container containing the dynamic poplist.If the poplist is under table or advanced table then table or advacned table will be webBeanContiner.If poplist are added under auto repeating layout, the same layout will be the webBeanContainer.
columnBeanName - the column bean whose value should be used as the bind variable value for this bindIndex
阅读全文
0 0
原创粉丝点击