|
|
发表于 2010/10/15 11:25:58
|
显示全部楼层
代码如下:
import oracle.apps.fnd.framework.webui.beans.message.OAMessageTextInputBean;
import oracle.cabo.style.CSSStyle;
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
{
super.processRequest(pageContext, webBean);
CSSStyle style = new CSSStyle();
style.setProperty("cursor", "default;");
style.setProperty("color", "#999999;");
OAMessageTextInputBean mtiDisableItem = (OAMessageTextInputBean)webBean.findChildRecursive("Manager");
mtiDisableItem.setAttributeValue(ON_FOCUS_ATTR, "this.blur()");
mtiDisableItem.setAttributeValue(INLINE_STYLE_ATTR, style);
}
图片中每一列的属性设置如下:
DeptName列:将disabled属性设置成true
Loc列:将readonly属性设置成true
Manager列和Description列什么都不设置。 |
|