@Override @FXML public void handleOCE(ActionEvent e) { super.handleOCE(e); try { if (getDeviceState(service) == JposState.CLAIMED) { deviceEnabled.setSelected(true); handleDeviceEnable(e); } } catch (JposException e1) { e1.printStackTrace(); } }
/** * Procedure to handle form submissions for form elements in a region. * * @param pageContext the current OA page context * @param webBean the web bean corresponding to the region */ public void processFormRequest(OAPageContext pageContext, OAWebBean webBean) { super.processFormRequest(pageContext, webBean); }
/** * Layout and page setup logic for a region. * * @param pageContext the current OA page context * @param webBean the web bean corresponding to the region */ public void processRequest(OAPageContext pageContext, OAWebBean webBean) { super.processRequest(pageContext, webBean); OAApplicationModule oam = pageContext.getRootApplicationModule(); oam.invokeMethod("createNewBatch"); }