UpdateObjectivePageCO

package xxcus.oracle.apps.per.wpm.objectives.webui;

import oracle.apps.fnd.framework.OAException;
import oracle.apps.fnd.framework.webui.OAPageContext;
import oracle.apps.fnd.framework.webui.beans.OAWebBean;
import oracle.apps.per.wpm.objectives.webui.UpdateObjectivePageCO;

public class UpdateObjectivePageCOEx extends UpdateObjectivePageCO {
    public UpdateObjectivePageCOEx() {
    }
   
    public void processFormRequest(OAPageContext paramOAPageContext, OAWebBean paramOAWebBean) {
   
        String str1 = paramOAPageContext.getDecryptedParameter("pScorecardId");
        String str2 = paramOAPageContext.getParameter("event");
        String str3 = null;
        Integer istr3 = 0;
        if (("Apply".equals(str2)) || ("UpdateNext".equals(str2))) {
            str3 = paramOAPageContext.getParameter("Weighting");
            if (str3!="") { istr3 = Integer.parseInt(str3); }
            if (istr3 < 5 || istr3 > 30) {
                throw new OAException(" Objective Weighting should be between 5 and 30", OAException.ERROR);
            }
        }
        super.processFormRequest(paramOAPageContext, paramOAWebBean);
    }
}

No comments:

Post a Comment