/** * Get the HTML param for this screen field. * (Only for XML/HTML fields). * Usually just the file.field name. * This method is typically used by the HTML model, but is also needed * By the swing report classes (thats why its here rather than in the html view). * @return The HTML param name. */ public final String getSFieldParam(String strSuffix) { return this.getSFieldParam(strSuffix, true); } /**
/** * Get the HTML param for this screen field. * (Only for XML/HTML fields). * Usually just the file.field name. * This method is typically used by the HTML model, but is also needed * By the swing report classes (thats why its here rather than in the html view). * @return The HTML param name. */ public final String getSFieldParam() { return this.getSFieldParam(null, true); } /**
/** * Get the HTML param for this screen field. * (Only for XML/HTML fields). * Usually just the file.field name. * This method is typically used by the HTML model, but is also needed * By the swing report classes (thats why its here rather than in the html view). * @return The HTML param name. */ public final String getSFieldParam(String strSuffix) { return this.getSFieldParam(strSuffix, true); } /**
/** * Get the HTML param for this screen field. * (Only for XML/HTML fields). * Usually just the file.field name. * This method is typically used by the HTML model, but is also needed * By the swing report classes (thats why its here rather than in the html view). * @return The HTML param name. */ public final String getSFieldParam() { return this.getSFieldParam(null, true); } /**
/** * Move the HTML input to the screen record fields. * @param strSuffix Only move fields with the suffix. * @return true if one was moved. * @exception DBException File exception. */ public int setSFieldToProperty(String strSuffix, boolean bDisplayOption, int iMoveMode) { int iErrorCode = DBConstants.NORMAL_RETURN; if (this.isInputField()) { String strFieldName = this.getSFieldParam(strSuffix); String strParamValue = this.getSFieldProperty(strFieldName); if (strParamValue != null) iErrorCode = this.setSFieldValue(strParamValue, bDisplayOption, iMoveMode); } return iErrorCode; } /**
/** * Move the HTML input to the screen record fields. * @param strSuffix Only move fields with the suffix. * @return true if one was moved. * @exception DBException File exception. */ public int setSFieldToProperty(String strSuffix, boolean bDisplayOption, int iMoveMode) { int iErrorCode = Constant.NORMAL_RETURN; if (this.isInputField()) { String strFieldName = this.getSFieldParam(strSuffix); String strParamValue = this.getSFieldProperty(strFieldName); if (strParamValue != null) iErrorCode = this.setSFieldValue(strParamValue, bDisplayOption, iMoveMode); } return iErrorCode; } /**
String strFieldName = this.getScreenField().getSFieldParam(null, false);
String strFieldName = this.getScreenField().getSFieldParam(null, false);
if (sField.getConverter() != null) properties.put(sField.getSFieldParam(null, false), sField.getSFieldValue(false, false));
if (sField.getConverter() != null) properties.put(sField.getSFieldParam(null, false), sField.getSFieldValue(false, false));
strURL = Utility.addURLParam(strURL, sField.getSFieldParam(null, false), strData); // Don't need outside frame stuff in a window
strURL = Utility.addURLParam(strURL, sField.getSFieldParam(null, false), strData); // Don't need outside frame stuff in a window
String strFieldName = this.getScreenField().getSFieldParam(strSuffix); String strParamValue = this.getSFieldProperty(strFieldName);
String strFieldName = this.getScreenField().getSFieldParam(strSuffix); String strParamValue = this.getSFieldProperty(strFieldName);