public void postFields() { final String S_ProcName = "postFields"; ICFFreeSwitchPbxIvrMenuObj focus = getSwingFocusAsPbxIvrMenu(); ICFFreeSwitchPbxIvrMenuEditObj editObj; if (focus != null) { editObj = (ICFFreeSwitchPbxIvrMenuEditObj) (focus.getEdit()); } else { editObj = null; } if (editObj == null) { throw CFLib.getDefaultExceptionFactory() .newUsageException( getClass(), S_ProcName, "Panel is unfocused or is not editing the focus object"); } // You are not allowed to edit the Container or Owner references, so they're not retrieved editObj.setRequiredName(getSwingEditorName().getStringValue()); editObj.setRequiredGreetLong(getSwingEditorGreetLong().getStringValue()); editObj.setRequiredGreetShort(getSwingEditorGreetShort().getStringValue()); editObj.setRequiredInvalidSound(getSwingEditorInvalidSound().getStringValue()); editObj.setRequiredExitSound(getSwingEditorExitSound().getStringValue()); editObj.setRequiredTimeout(getSwingEditorTimeout().getInt32Value()); editObj.setRequiredInterDigitTimeout(getSwingEditorInterDigitTimeout().getInt32Value()); editObj.setRequiredMaxFailures(getSwingEditorMaxFailures().getInt32Value()); editObj.setRequiredMaxTimeouts(getSwingEditorMaxTimeouts().getInt32Value()); editObj.setRequiredDigitLen(getSwingEditorDigitLen().getInt32Value()); }