OAMessageChoiceBean

Based on the condition we need to disable message choice in CO.

OAMessageChoiceBean DispButtonValue = (OAMessageChoiceBean)webBean.findChildRecursive(“Disposition”);
String DispValue = DispButtonValue.getText(pageContext);

if (DispValue != null) {
DispButtonValue.setDisabled(true);
pageContext.writeDiagnostics(DispValue, “DispValue——>!!!!!!> = “, 1);
}
else {
DispButtonValue.setDisabled(false);
}

Recent Posts