/** * RestoreScreenParam Method. * This is a convenience method to restore screen fields to their property values. * @param iFieldSeq The screen field sequence to restore. */ public void restoreScreenParam(int iFieldSeq) { if (this.getScreenRecord() != null) if (this.getScreenRecord().getField(iFieldSeq) != null) if (this.getScreenRecord().getField(iFieldSeq).getFieldName() != null) { String strFieldName = this.getScreenRecord().getField(iFieldSeq).getFieldName(); if (this.getProperty(strFieldName) != null) this.getScreenRecord().getField(iFieldSeq).setString((String)this.getProperty(strFieldName)); } } /**
/** * RestoreScreenParam Method. * This is a convenience method to restore screen fields to their property values. * @param iFieldSeq The screen field sequence to restore. */ public void restoreScreenParam(int iFieldSeq) { if (this.getScreenRecord() != null) if (this.getScreenRecord().getField(iFieldSeq) != null) if (this.getScreenRecord().getField(iFieldSeq).getFieldName() != null) { String strFieldName = this.getScreenRecord().getField(iFieldSeq).getFieldName(); if (this.getProperty(strFieldName) != null) this.getScreenRecord().getField(iFieldSeq).setString((String)this.getProperty(strFieldName)); } } /**
/** * RestoreScreenParam Method. * This is a convenience method to restore screen fields to their property values. * @param iFieldSeq The screen field sequence to restore. */ public void restoreScreenParam(String fieldName) { if (this.getScreenRecord() != null) if (this.getScreenRecord().getField(fieldName) != null) if (this.getScreenRecord().getField(fieldName).getFieldName() != null) { String strFieldName = this.getScreenRecord().getField(fieldName).getFieldName(); if (this.getProperty(strFieldName) != null) this.getScreenRecord().getField(fieldName).setString((String)this.getProperty(strFieldName)); } } /**
parentScreen.popHistory(1, false); // Back should skip this screen BaseScreen screen = new RequestPrintLabels(record, itsLocation, parentScreen, fieldConverter, iDisplayFieldDesc, properties); screen.getScreenRecord().getField(RequestLabelsScreenRecord.SEND_VIA_ID).setValue(iSendViaID); // Sync
parentScreen.popHistory(1, false); // Back should skip this screen BaseScreen screen = new RequestPrintLabels(record, itsLocation, parentScreen, fieldConverter, iDisplayFieldDesc, properties); screen.getScreenRecord().getField(RequestLabelsScreenRecord.SEND_VIA_ID).setValue(iSendViaID); // Sync