PageRenderTime 15ms CodeModel.GetById 13ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://jcg-andygene-web.googlecode.com/
Unknown | 49 lines | 44 code | 5 blank | 0 comment | 0 complexity | 47dc46f7b96175cf9a40f6ddbdf77914 MD5 | raw file
 1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
 2 
 3<div id="body" dojoType="dijit.layout.ContentPane" region="center" splitter="true" xmlns:spring="http://www.springframework.org/tags" xmlns:fn="http://java.sun.com/jsp/jstl/functions"  xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
 4  <jsp:directive.page contentType="text/html;charset=UTF-8" />
 5  <jsp:output omit-xml-declaration="yes" />
 6  <div id="loginformbody" dojoType="dijit.form.Form" region="center" splitter="false" style="text-align: center;position: absolute;top: 100px;left: 100px;width:200px;height:200px">
 7   <c:if test="${not empty param.login_error}">
 8      <div class="errors">
 9        <p>
10          <spring:message code="security_login_unsuccessful" />
11          <c:out value="${SPRING_SECURITY_LAST_EXCEPTION.message}" />
12          .
13        </p>
14      </div>
15    </c:if>
16    <c:if test="${empty param.login_error}">
17      <p>
18        <spring:message code="security_login_message" />
19      </p>
20    </c:if>
21    <spring:url value="/web/resources/j_spring_security_check" var="form_url" />
22    <form name="f" action="${fn:escapeXml(form_url)}" method="POST">
23      	<table>
24      	<tr>
25      	<td>
26        <strong><spring:message code="security_login_form_name" /></strong>
27         </td> 
28        <td>
29        <input id="j_username" type='text' name='j_username' style="width:150px" dojoType="dijit.form.TextBox" />
30        </td>
31        </tr>
32        <tr>
33        <td>
34        <strong><spring:message code="security_login_form_password" /></strong>
35          </td>
36          <td>
37        <input id="j_password" type='password' name='j_password' style="width:150px" dojoType="dijit.form.TextBox" />
38        </td>
39       </tr>
40      
41      	</table>
42        
43        <input dojoType="dijit.form.Button" id="proceed" type="submit" value="submit" label="Submit"/>
44        
45        <input dojoType="dijit.form.Button" id="reset" type="reset" value="reset" label="Reset"/>
46      
47    </form>
48  </div>
49</div>