" style="text-align: center">
" style="width: 1%; white-space: nowrap;">
|
dataValue" style="width: auto; ">
|
dataValue" style="width: auto; ">
|
dataValue" style="width: auto; ">
|
dataValue" style="width: auto; ">
|
<% colorBlue = !colorBlue;
%>
" style="text-align: center">
" style="width: 1%; white-space: nowrap;">
|
dataValue" style="width: auto; ">
|
dataValue" style="width: auto; ">
|
dataValue" style="width: auto; ">
|
dataValue" style="width: auto; ">
|
<%
String rolesID = "";
if (rolesCode != null && rolesDisplay != null) {
for (int i = 0; i < rolesDisplay.size(); i++) {
String currID = (String)((Vector)rolesDisplay.elementAt(i)).elementAt(0);
rolesID += (i > 0 ? "|" : "") + currID;
String currDisplay = (String)((Vector)rolesDisplay.elementAt(i)).elementAt(1);
String currCode = (String)((Vector)rolesCode.elementAt(i)).elementAt(1);
int index = -1;
int currRoleRead = 2;
int currRoleEdit = 2;
int currRoleCreate = 2;
int currRoleDelete = 2;
if (roles != null) {
index = roles.indexOf(currID);
if (index != -1) {
if (rolesRead!= null) {
currRoleRead = ((Integer)rolesRead.elementAt(index)).intValue();
}
if (rolesEdit!= null) {
currRoleEdit = ((Integer)rolesEdit.elementAt(index)).intValue();
}
if (rolesCreate!= null) {
currRoleCreate = ((Integer)rolesCreate.elementAt(index)).intValue();
}
if (rolesDelete!= null) {
currRoleDelete = ((Integer)rolesDelete.elementAt(index)).intValue();
}
}
}
colorBlue = !colorBlue;
%> " style="text-align: center">
" style="width: 1%; white-space: nowrap;">
<%= currDisplay %>
|
dataValue" style="width: auto; ">
|
dataValue" style="width: auto; ">
|
dataValue" style="width: auto; ">
|
dataValue" style="width: auto; ">
|
<%
}
%>
<% }
%>