docs: public void doNextToView(@FormGroup("dataMediaPairInfo") Group dataMediaPairInfo,
                               @FormField(name = "formDataMediaPairError", group = "dataMediaPairInfo") CustomErrors err,
                               Navigator nav) throws Exception {
          DataMediaPair dataMediaPair = new DataMediaPair();
          DataMedia sourceDataMedia = new DataMedia();
          DataMedia targetDataMedia = new DataMedia();
          dataMediaPairInfo.setProperties(dataMediaPair);
          sourceDataMedia.setId(dataMediaPairInfo.getField("sourceDataMediaId").getLongValue());
          dataMediaPair.setSource(sourceDataMedia);
          targetDataMedia.setId(dataMediaPairInfo.getField("targetDataMediaId").getLongValue());
          dataMediaPair.setTarget(targetDataMedia);
          try {
              dataMediaPairService.create(dataMediaPair);
          } catch (RepeatConfigureException rce) {
              err.setMessage("invalidDataMediaPair");
              return;
          }
  
          nav.redirectToLocation("dataMediaPairList.htm?pipelineId=" + dataMediaPair.getPipelineId());
      }