PageRenderTime 19ms CodeModel.GetById 14ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 1ms

/jcg-andygene-web-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/views/header.jspx

http://jcg-andygene-web.googlecode.com/
Unknown | 18 lines | 14 code | 4 blank | 0 comment | 0 complexity | d2389732d5e05ae2dd405056456700da MD5 | raw file
 1<div id="header" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:spring="http://www.springframework.org/tags" xmlns:sec="http://www.springframework.org/security/tags" version="2.0" dojoType="dijit.layout.ContentPane" region="top" splitter="false" >
 2  <jsp:directive.page contentType="text/html;charset=UTF-8" />
 3  <jsp:output omit-xml-declaration="yes" />
 4  <spring:url value="/web/static/images/logo.png" var="img_url" />
 5  <table width="100%"><tr><td align="left"><img src="${fn:escapeXml(img_url)}" alt="JAVA CODE GEEKS"/></td>
 6  <sec:authentication property="principal.username" var="username"/>
 7  <spring:url value="/web/resources/j_spring_security_logout" var="form_url" /> 
 8  <c:if test="${not empty username}">
 9	<td align="right">
10    		Welcome <c:out value="${username}"></c:out>! <a href="${fn:escapeXml(form_url)}">logout</a>
11    		</td>
12    	</c:if>
13  
14  </tr></table>
15	
16       
17     
18</div>