@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);
  }
 @Override
 protected void createKilogramsPerContainerField() {
   super.createKilogramsPerContainerField();
   _kilogramsPerContainerLabel = _kilogramsPerContainer.getLabel();
 }
 @Override
 protected void updateModel(AcUspsDomesticAcceptanceReportWorkshareContainer e) {
   super.updateModel(e);
   if (isAircraftEditable()) e.setEquipmentCode(_equipmentDropdown.getNonGenericSelectedString());
   e.setContainer(_containerDropdown.getNonGenericSelectedString());
 }