public ActionForward restoreSettings(
     ActionMapping mapping,
     ActionForm actionForm,
     HttpServletRequest request,
     HttpServletResponse response)
     throws GTClientException {
   // @todo: use javaScript to do this (havent time to work out the code for setting the select
   // field now)
   try {
     ConnectionSetupResultAForm form = (ConnectionSetupResultAForm) actionForm;
     form.setCurrentLocation(form.getOriginalLocation());
     form.setServicingRouter(form.getOriginalServicingRouter());
     return update(mapping, actionForm, request, response);
   } catch (Throwable t) {
     throw new GTClientException("Error restoring original connectionSetup settings", t);
   }
 }
  protected void initialiseActionForm(ActionContext actionContext, IGTEntity entity)
      throws GTClientException {
    ConnectionSetupResultAForm form = (ConnectionSetupResultAForm) actionContext.getActionForm();
    IGTConnectionSetupResultEntity result = (IGTConnectionSetupResultEntity) entity;
    IGTConnectionSetupParamEntity param =
        (IGTConnectionSetupParamEntity)
            result.getFieldValue(IGTConnectionSetupResultEntity.SETUP_PARAMETERS);

    form.setCurrentLocation(param.getFieldString(IGTConnectionSetupParamEntity.CURRENT_LOCATION));
    form.setServicingRouter(param.getFieldString(IGTConnectionSetupParamEntity.SERVICING_ROUTER));
    form.setOriginalLocation(param.getFieldString(IGTConnectionSetupParamEntity.ORIGINAL_LOCATION));
    form.setOriginalServicingRouter(
        param.getFieldString(IGTConnectionSetupParamEntity.ORIGINAL_SERVICING_ROUTER));

    form.setStatus(result.getFieldString(IGTConnectionSetupResultEntity.STATUS));
    form.setFailureReason(result.getFieldString(IGTConnectionSetupResultEntity.FAILURE_REASON));

    prepLists(actionContext, false);
  }