2 ~ Copyright 2005-2006 The Apache Software Foundation.
4 ~ Licensed under the Apache License, Version 2.0 (the "License");
5 ~ you may not use this file except in compliance with the License.
6 ~ You may obtain a copy of the License at
8 ~ http://www.apache.org/licenses/LICENSE-2.0
10 ~ Unless required by applicable law or agreed to in writing, software
11 ~ distributed under the License is distributed on an "AS IS" BASIS,
12 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 ~ See the License for the specific language governing permissions and
14 ~ limitations under the License.
17 <%@ taglib prefix="s" uri="/struts-tags" %>
18 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
21 <s:i18n name="org.apache.archiva.redback.struts2.default">
23 <title><s:text name="register.page.title"/></title>
28 <%@ include file="/WEB-INF/jsp/redback/include/formValidationResults.jsp" %>
30 <h2><s:text name="register.section.title"/></h2>
32 <s:form action="register" namespace="/security" theme="xhtml"
33 id="registerForm" method="post" name="register" cssClass="security register">
35 <s:textfield label="%{getText('username')}" name="user.username" size="30" required="true"/>
36 <s:textfield label="%{getText('full.name')}" name="user.fullName" size="30" required="true"/>
37 <s:textfield label="%{getText('email.address')}" name="user.email" size="50" required="true"/>
39 <c:if test="${! emailValidationRequired}">
40 <s:password label="%{getText('password')}" name="user.password" size="20" required="true"/>
41 <s:password label="%{getText('confirm.password')}" name="user.confirmPassword" size="20" required="true"/>
44 <s:submit value="%{getText('register')}" method="register" />
45 <s:submit value="%{getText('cancel')}" method="cancel" />