<%@ page language="java" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%> <%@page import="net.sourceforge.fenixedu.domain.Role"%> <%@page import="net.sourceforge.fenixedu.domain.person.RoleType"%> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%> <%@ taglib uri="/WEB-INF/fenix-renderers.tld" prefix="fr" %>

:

() <% int i = 0; for (final Role role : person.getPersonRolesSet()) { final RoleType roleType = role.getRoleType(); if (roleType == RoleType.STUDENT || roleType == RoleType.TEACHER || roleType == RoleType.EMPLOYEE || roleType == RoleType.RESEARCHER) { %> <% if (i++ > 0) { %>
<% } %> <%= role.getRoleType().getLocalizedName() %> <% } } %>