<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"
%><%@page import="com.ejie.aa34b.orne.uda.UdaDeclarations"
%><%@include file="/WEB-INF/includeTemplate.inc"
%><!-- Include de los elementos comunes -->
<script type="text/javascript">
    APP_RESOURCES = 'm62fb',
    CTX_PATH = '<%= request.getContextPath()%>/',
    STATICS = '${staticsUrl}',
    RUP = '${staticsUrl}/rup',
    WAR_NAME = 'm62fbRegistroVPP',
    //model
    LAYOUT = '${empty defaultLayout ?  mvcInterceptor.defaultLayout : defaultLayout}',
    //mvc-config.xml
    LOCALE_COOKIE_NAME = '${localeResolver.cookieName}',
    LOCALE_PARAM_NAME = '${mvcInterceptor.paramName}',
    AVAILABLE_LANGS = '${mvcInterceptor.availableLangs}',
    //breadCrumbs
    //LOGGED_USER = '${udaAuthenticationProvider.userCredentials.fullName}',
    LOGGED_USER = '${!empty sessionScope.SPRING_SECURITY_CONTEXT.authentication.principal ? sessionScope.SPRING_SECURITY_CONTEXT.authentication.principal : sessionScope.userData.fullName}';   
    DESTROY_XLNETS_SESSION = '${!empty sessionScope.SPRING_SECURITY_CONTEXT.authentication.principal ? sessionScope.SPRING_SECURITY_CONTEXT.authentication.credentials.destroySessionSecuritySystem : sessionScope.destroySessionSecuritySystem}';

</script>