//applyCurrentUser(eo, "owner");
return page;
}
public WOComponent signUp() {
final ERD2WInspectPage page;
People signUp = session().signUp();
if(signUp == null) {
page = (ERD2WInspectPage) createPageNamed("SignUpPeople");
signUp = (People) page.object();
session().setSignUp(signUp);
} else {
page = (ERD2WInspectPage) editPageNamed("SignUpPeople", signUp);
}
page.setNextPageDelegate(new NextPageDelegate() {
public WOComponent nextPage(WOComponent arg0) {
if(page.objectWasSaved()) {
session().finishSignUp();
} else {
session().setSignUp(null);
}