您的位置:首页 > 编程语言

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, 然后再对其中的属性赋值。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: