Number Formatting in Field
We can use below code if we need to display a field in number format.
import oracle.apps.fnd.framework.webui.OADecimalValidater;
import oracle.cabo.ui.validate.Formatter;
OAMessageTextInputBean Number1 = (OAMessageTextInputBean)webBean.findChildRecursive("item1");
Formatter formatter = new OADecimalValidater("###,###,##0.00;(###,###,##0.00)","###,###,##0.00;(###,###,##0.00)");
Number1.setAttributeValue(ON_SUBMIT_VALIDATER_ATTR, formatter);
0 Comments