Example #1
0
 // Actions
 public String addPerson() {
   pm.addAirplane(airplane);
   return "showAirplanes";
   // return null;
 }
Example #2
0
 public ListDataModel<Airplane> getAllAirplanes() {
   airplanes.setWrappedData(pm.getAllAirplanes());
   return airplanes;
 }