<%@include file="/WEB-INF/includeTemplate.inc"%>
<%
String rolesConsulta = request.getParameter("rolesConsulta") != null ? request.getParameter("rolesConsulta"): "";
String rolesModificacion = request.getParameter("rolesModificacion") != null ? request.getParameter("rolesModificacion"): "";
String rolesAdmin = request.getParameter("rolesAdmin") != null ? request.getParameter("rolesAdmin"): "";
String maintId = request.getParameter("maintId") != null ? request.getParameter("maintId"): "";
%>
<div class="clearfix"></div>
<sec:authorize ifAnyGranted="<%= rolesConsulta %>">
	<input type="hidden" name="validRolesConsulta" id="validRolesConsulta" value="true"/>
	<input type="hidden" name="validRolesAdmin" id="validRolesAdmin" value="false"/>
	<input type="hidden" name="validRolesModificacion" id="validRolesModificacion" value="false"/>
	<input type="hidden" name="maintId" id="maintId" value="<%= maintId %>"/>
</sec:authorize>
<sec:authorize ifAnyGranted="<%= rolesModificacion %>">
	<input type="hidden" name="validRolesConsulta" id="validRolesConsulta" value="false"/>
	<input type="hidden" name="validRolesAdmin" id="validRolesAdmin" value="true"/>
	<input type="hidden" name="validRolesModificacion" id="validRolesModificacion" value="false"/>
	<input type="hidden" name="maintId" id="maintId" value="<%= maintId %>"/>
</sec:authorize>
<sec:authorize ifAnyGranted="<%= rolesAdmin %>">
	<input type="hidden" name="validRolesConsulta" id="validRolesConsulta" value="false"/>
	<input type="hidden" name="validRolesAdmin" id="validRolesAdmin" value="false"/>
	<input type="hidden" name="validRolesModificacion" id="validRolesModificacion" value="true"/>
	<input type="hidden" name="maintId" id="maintId" value="<%= maintId %>"/>
</sec:authorize>