<% } else { %>
<% } %>
<%-- Si jamais on a choisi une Opp --%>
<% if (currentObj.equalsIgnoreCase(oppObjID) || currentObj.equalsIgnoreCase(catObjID)) {%>
<%} %>
">
<%
String idAdmin = dico.getRefIdByCode("DocRolesID","ADMIN");
Vector roles = null;
Vector checkVector = null;
try{
roles= dico.getRefList(session, "DocRolesID");
}catch(FrontlineException fe){}
//Il ne faut pas checker les roles si nous sommes en creation
try{
checkVector = Document.getDocRolesID();
}catch(FieldNotInitializedException fnie){}
%>
Tous
<% for ( int i=0; i < roles.size() ; i++)
{
String checked="";
Vector currRoles = (Vector) roles.elementAt(i);
String idR = (String) currRoles.elementAt(0);
if (id!=null && checkVector!= null){
if ( checkVector.contains(idR)) checked="CHECKED ";
}
//if ( idAdmin.equals(idR)) checked += " onClick=\"this.checked=1\"";
if ( idAdmin.equals(idR)) checked = "checked=\"checked\" onClick=\"this.checked=1\"";
String role = (String) currRoles.elementAt(1);
%>