@Override
  protected void preRender(AcUspsDomesticAcceptanceReportWorkshareContainer e) {
    super.preRender(e);

    if (isAircraftEditable()) {
      AcEquipmentTools a = AcEquipmentTools.instance;
      _equipmentDropdown.addSelectOption();
      _equipmentDropdown.addOptions(getEquipment(), a.getCodeAdaptor(), a.getDisplayLabelAdaptor());
      _equipmentDropdown.setSelectedValue(e.getEquipmentCode());
    }

    AcUspsDomesticContainerTools c = AcUspsDomesticContainerTools.instance;
    _containerDropdown.addSelectOption();
    _containerDropdown.addOptions(getContainers(), c.getNameAdaptor(), c.getNameAdaptor());
    _containerDropdown.setSelectedValue(e.getContainer());

    String unit =
        JwUtility.capitalizeFirstLetter(getData().getPreferredDomesticWeightPolicy().getUnit());
    _kilogramsPerContainer.setLabel(unit + "s " + _kilogramsPerContainerLabel);
  }
  public void preRender() {
    JwList<AcAirport> airports = getInternationalAirports();
    JwList<AcCarrier> carriers = getCarriers();
    JwList<AcEquipment> equipment = getInternationalEquipment();
    JwList<AcUspsInternationalContract> contracts = getInternationalUspsInternationalContracts();

    _origin.clearOptions();
    _origin.addSelectOption();
    _origin.addOptions(airports);

    _destination.clearOptions();
    _destination.addSelectOption();
    _destination.addOptions(airports);

    _equipment.clearOptions();
    _equipment.addSelectOption();
    _equipment.addOptions(equipment);

    AcUspsInternationalContractTools c = AcUspsInternationalContractTools.instance;
    _contractNumber.clearOptions();
    _contractNumber.addSelectOption();
    _contractNumber.addOptions(contracts, c.getNumberAdaptor(), c.getNumberAdaptor());

    AcCarrierTools x = AcCarrierTools.instance;
    _listingCarrier.clearOptions();
    _listingCarrier.addSelectOption();
    _listingCarrier.addOptions(carriers, x.getCodeAdaptor(), x.getDisplayLabelAdaptor());

    _operatorCarrier.clearOptions();
    _operatorCarrier.addSelectOption();
    _operatorCarrier.addOptions(carriers, x.getCodeAdaptor(), x.getDisplayLabelAdaptor());

    _blockText.setValue(getBlockDisplayLabel());
  }