Beispiel #1
0
 public Project getSelected() {
   if (current == null) {
     current = new Project();
     current.setProjectPK(new jpa.entities.ProjectPK());
     selectedItemIndex = -1;
   }
   return current;
 }
Beispiel #2
0
 public String prepareCreate() {
   current = new Project();
   current.setProjectPK(new jpa.entities.ProjectPK());
   selectedItemIndex = -1;
   return "Create";
 }