<%-- "/>--%>
<%
if (picID != null) {
%>
|
|
<%
}
%>
|
|
|
<%
Vector permLics;
try {
permLics = Actor.getActPermLics();
} catch (FieldNotInitializedException e) {
permLics = new Vector();
}
Vector flotLics;
try {
flotLics = Actor.getActFloatLics();
} catch (FieldNotInitializedException e) {
flotLics = new Vector();
}
String perm = Utils.getMessage(session, "L6601", "Permanente");
String floating = Utils.getMessage(session, "L6602", "Flottante");
String notApplied = Utils.getMessage(session, "L6605", "Pas attribuée");
String[] softwareCodes = licenceManager.getLicencedSoftwareCodes();
for (String softCode : softwareCodes) {
String softName = licenceManager.getLicencedSoftwareName(softCode);
String licMsg;
if (permLics.contains(softCode)) {
licMsg = "" + perm + "";
} else if (flotLics.contains(softCode)) {
licMsg = "" + floating + "";
} else {
licMsg = notApplied;
}
String display = (softName == null ? softCode : softName + " (" + softCode + ")");
%>
|
<%=licMsg%> |
<%
}
%>
|