//import oracle.cabo.ui.validate.Formatter;
important Class for Formatting
// Set Number fields Format
public void
setNumberFormatter(OAWebBean webBean) {
Formatter formatter =
new OADecimalValidater("###,###,##0.00",
"###,###,##0.00"); //
Formatter
OAWebBean FarQuantity1_f =
webBean.findChildRecursive("FarQuantity1");
FarQuantity1_f.setAttributeValue(OAWebBeanConstants.ON_SUBMIT_VALIDATER_ATTR,
formatter);
}
Hi, Please let us know how to restirct user from entering Negative numbers in a Number/message text input field in OAF
ReplyDelete