Object[] args = { userView.getPerson().getStudentByUsername() };
Registration registration = userView.getPerson().getStudentByUsername(); if (registration == null) { registration = userView.getPerson().getStudentByType(DegreeType.DEGREE); }  Object[] args = { registration };
    public ActionForward execute(ActionMapping mapping, ActionForm actionForm,            HttpServletRequest request, HttpServletResponse response) throws FenixActionException, FenixFilterException {        IUserView userView = getUserView(request);        Object[] args = { userView.getPerson().getStudentByUsername() };        List infoLessons;        try {            infoLessons = (List) ServiceUtils.executeService(userView, "ReadStudentTimeTable", args);        } catch (FenixServiceException e) {            throw new FenixActionException(e);        }        request.setAttribute("infoLessons", infoLessons);        return mapping.findForward("sucess");    }