/** * 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; } /**
fieldConverter.addComponent(m_sHtmlView); m_sHtmlView.setConverter(fieldConverter); m_sHtmlView.setSFieldValue(strText, DBConstants.DISPLAY, DBConstants.SCREEN_MOVE); fieldConverter.removeComponent(m_sHtmlView); m_sHtmlView.setConverter(null);
int iErrorCode = this.getScreenField().setSFieldValue(strParamValue, DBConstants.DONT_DISPLAY, DBConstants.SCREEN_MOVE); if (iErrorCode != DBConstants.NORMAL_RETURN)
int iErrorCode = this.getScreenField().setSFieldValue(strParamValue, DBConstants.DONT_DISPLAY, DBConstants.SCREEN_MOVE); if (iErrorCode != DBConstants.NORMAL_RETURN)