maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r443409 - /maven/shared/trunk/maven-user/maven-user-webapp/src/main/webapp/user/expiredPassword.jsp
Date Thu, 14 Sep 2006 17:05:57 GMT
Author: carlos
Date: Thu Sep 14 10:05:56 2006
New Revision: 443409

URL: http://svn.apache.org/viewvc?view=rev&rev=443409
Log:
[CONTINUUM-794] Add password expiration change password page

Modified:
    maven/shared/trunk/maven-user/maven-user-webapp/src/main/webapp/user/expiredPassword.jsp

Modified: maven/shared/trunk/maven-user/maven-user-webapp/src/main/webapp/user/expiredPassword.jsp
URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-user/maven-user-webapp/src/main/webapp/user/expiredPassword.jsp?view=diff&rev=443409&r1=443408&r2=443409
==============================================================================
--- maven/shared/trunk/maven-user/maven-user-webapp/src/main/webapp/user/expiredPassword.jsp
(original)
+++ maven/shared/trunk/maven-user/maven-user-webapp/src/main/webapp/user/expiredPassword.jsp
Thu Sep 14 10:05:56 2006
@@ -1,19 +1,41 @@
 <%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>
 <%@ taglib uri="/webwork" prefix="ww" %>
 <%@ taglib uri="http://www.extremecomponents.org" prefix="ec" %>
+<%@ taglib uri="http://acegisecurity.org/authz" prefix="authz" %>
 <html>
   <ww:i18n name="localization.MavenUser">
     <head>
-      <title><ww:text name="user.expired.password.page.title"/></title>
+        <title><ww:text name="user.expired.password.page.title"/></title>
     </head>
     <body>
       <div id="axial" class="h3">
         <h3><ww:text name="user.expired.password.section.title"/></h3>
-<%--
-        <ww:include value="userForm.jsp">
-          <ww:param name="addMode" value="${addMode}"/>
-        </ww:include>
---%>
+        <div class="axial">
+          <ww:form action="expiredPassword!doChangePassword" method="post" namespace="/user">
+            <c:if test="${!empty actionErrors}">
+              <div class="errormessage">
+              <c:forEach items="${actionErrors}" var="actionError">
+                <p><ww:text name="${actionError}"/></p>
+              </c:forEach>
+              </div>
+            </c:if>
+            <table>
+              <tbody>
+                <!-- 
+                  <ww:hidden id="username" name="username" value="${username}"/>
+                  <ww:label  id="username" label="%{getText('user.username')}" name="username"
required="true"/>
+                -->
+                <ww:textfield id="username" label="%{getText('user.username')}" name="username"
required="true"/>
+                <ww:password id="oldPassword" label="%{getText('user.current.password')}"
name="oldPassword" required="true"/>
+                <ww:password id="password" label="%{getText('user.password')}" name="password"
required="true"/>
+                <ww:password id="confirmPassword" label="%{getText('user.confirm.password')}"
name="confirmPassword" required="true"/>
+              </tbody>
+            </table>
+            <div class="functnbar3">
+              <ww:submit value="%{getText('save')}"/> <!-- todo: change to submit/cancel
button -->
+            </div>
+          </ww:form>
+        </div>
       </div>
     </body>
   </ww:i18n>



Mime
View raw message