OAF中实现items的代码控制属性readOnly
2017-07-22 12:03
295 查看
OAMessageChoiceBean PurchaseTypeBean = (OAMessageChoiceBean)webBean.findChildRecursive("PurchaseType"); PurchaseTypeBean.setReadOnly(true); OAMessageTextInputBean TitileBean = (OAMessageTextInputBean)webBean.findChildRecursive("Titile"); TitileBean.setReadOnly(true); OAMessageTextInputBean ContentBean = (OAMessageTextInputBean)webBean.findChildRecursive("Content"); ContentBean.setReadOnly(true); 首先获取到这个items的Bean, 然后再对其中的属性赋值。
相关文章推荐
- 用javascript来控制 链接的target 属性的代码
- 用js控制a标签href属性并实现跳转
- 属性动画步骤总结——包含xml实现与java代码实现
- ASPxGridView 结合CheckBox实现多选(在后台事件代码控制)
- javascript控制frame,iframe的src属性代码
- javascript 通过模块模式实现代码访问控制
- Spring代码实例系列-07:Spring AOP面向切面,模拟实现事物控制
- php 修改、增加xml结点属性的实现代码
- 在后台代码中控制HTML页面标记属性
- 免费SVN版本控制库Google code的搭建流程,以及隐藏代码,实现伪安全
- 【代码分享】关于List<V>按V的某个属性分组的通用代码实现
- C代码实现控制Win 7系统音量
- 实现图片大小的自动控制( 图片大小控制CSS代码)
- 007-实现Unity3d中触摸屏幕控制物体的移动 代码实现
- Javascript设置对象的ReadOnly属性(示例代码)
- 用VBS控制鼠标的实现代码(获取鼠标坐标、鼠标移动、鼠标单击、鼠标双击)
- 源代码设计实现,源代码控制
- C++中的property库的设计与实现过程(五)(第一部完)——为属性加入访问控制
- Linux下控制(统计)文件的生成的C代码实现
- Silverlight表单控件实现自动属性编辑代码讲解