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