Monday 14 October 2019

Set Number Format in OAF



 //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);

    }


1 comment:

  1. Hi, Please let us know how to restirct user from entering Negative numbers in a Number/message text input field in OAF

    ReplyDelete

OADBTransactionImpl in Oracle Application Framework (OAF)

OADBTransactionImpl is a class in Oracle Application Framework (OAF), which is a framework for building Oracle E-Business Suite applications...