return mapping.findForward("searchPersons");
}
public ActionForward searchPerson(ActionMapping mapping, ActionForm form, HttpServletRequest request,
HttpServletResponse response) throws FenixServiceException {
final SimpleSearchPersonWithStudentBean searchPersonBean =
(SimpleSearchPersonWithStudentBean) getObjectFromViewState("searchPersonBean");
request.setAttribute("searchPersonBean", searchPersonBean);
final Collection<Person> persons = searchPersonBean.search();
if (persons.size() == 1) {
request.setAttribute("personId", persons.iterator().next().getExternalId());
return showOperations(mapping, form, request, response);