userView.getUtilizador(), costCenter, username });
userView.getUtilizador(), costCenter, personAccessesList });
    public ActionForward showPersonAccesses(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)            throws FenixServiceException, FenixFilterException {        final IUserView userView = SessionUtils.getUserView(request);        final String username = (String) ((DynaActionForm) form).get("username");        request.setAttribute("username", username);        final String costCenter = request.getParameter("costCenter");        getCostCenterName(request, costCenter);        if (username != null && !username.equals("")) {            try {                if (!username.equalsIgnoreCase(userView.getUtilizador())) {                    final List personAccessesList = (List) ServiceManagerServiceFactory.executeService(userView, "ReadProjectAccesses", new Object[] {                            userView.getUtilizador(), costCenter, username });                    request.setAttribute("personAccessesList", personAccessesList);                    if (personAccessesList == null || personAccessesList.size() == 0) {                        final InfoPerson infoPerson = (InfoPerson) ServiceManagerServiceFactory.executeService(userView,                                "ReadPersonToDelegateAccess", new Object[] { userView.getUtilizador(), costCenter, username });                        request.setAttribute("infoPerson", infoPerson);                    }                    final List projectList = (List) ServiceUtils.executeService(userView, "ReadProjectWithoutPersonAccess", new Object[] {                            userView.getUtilizador(), costCenter, username });                    request.setAttribute("projectList", projectList);                    return mapping.findForward("showPersonAccesses");                }            } catch (ExcepcaoInexistente e) {                request.setAttribute("noPerson", new Boolean(true));            } catch (InvalidArgumentsServiceException e) {                request.setAttribute("noValidPerson", new Boolean(true));            }        }        return mapping.findForward("choosePerson");    }