private void handleAdd() {
   String webKey = decodeStringArgument();
   Integer id = AcUspsInternationalRequestedRouteTools.getIdFromWebKey(webKey);
   Integer tmpId =
       getUspsInternationalRequestedRouteService()
           .copyToUspsInternationalCandidateRouteTmp(id, getData().getUser().getLogin());
   getPageSession()
       .setUspsInternationalCandidateRouteTmpWebKey(
           AcUspsInternationalCandidateRouteTmpTools.getWebKey(tmpId));
   AcUspsInternationalCandidateRouteTmpAddPage.instance.print();
 }
 @SuppressWarnings("unchecked")
 protected JwList<Integer> getSelectedRouteIds() {
   JwList<String> webKeys = (JwList<String>) _grid.getSelectedValues();
   JwList<Integer> routeIds = AcUspsInternationalRequestedRouteTools.getIdsFromWebKeys(webKeys);
   return routeIds;
 }
  private ScControl createGrid() {
    AcUspsInternationalRequestedRouteTools x = AcUspsInternationalRequestedRouteTools.instance;

    _grid = new ScCheckboxGrid<AcUspsInternationalRequestedRoute>();
    _grid.setCheckboxValueAdaptor(x.getWebKeyAdaptor());
    _grid.setExportCommand(newExportCommand());
    _grid.addColumn(x.newRouteBeginUtcDtColumn("Start"));
    _grid.addColumn(x.newRouteEndUtcDtColumn("End"));
    _grid.addColumn(x.newInitialFrequencyColumn("Proposed Frequency"));
    _grid.addColumn(
        x.newInitialMinimumCapacityColumn(
            x.newInternationalWeightTitleAdaptor("Desired Minimum Capacity")));
    _grid.addColumn(
        x.newInitialMaximumCapacityColumn(
            x.newInternationalWeightTitleAdaptor("Desired Maximum Capacity")));
    _grid.addColumn(x.newProductTypeColumn("Product Type"));
    _grid.addColumn(x.newDemandCategoryColumn("Demand Category"));
    _grid.addColumn(x.newStatusDisplayLabelColumn("Status"));
    _grid.addColumn(
        x.newColumnLink()
            .appendWebKeyLink("Add to Candidate Routes", newAddCommand(), null, false));
    return _grid;
  }