Methods Summary |
---|
public java.lang.String | execute()A default implementation that does nothing an returns "success".
persons.addAll(personManager.getPeople());
return SUCCESS;
|
public java.util.List | getPersons()
return persons;
|
public java.lang.String | save()A default implementation that does nothing an returns "success".
// Set people = personManager.getPeople();
for ( Iterator iter = persons.iterator(); iter.hasNext();) {
Person p = (Person) iter.next();
personManager.getPeople().remove(p);
personManager.getPeople().add(p);
}
return "list";
|
public void | setPersonManager(PersonManager personManager)
this.personManager = personManager;
|
public void | setPersons(java.util.List persons)
this.persons = persons;
|