continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r420654 - /maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/login.jsp
Date Mon, 10 Jul 2006 23:09:26 GMT
Author: carlos
Date: Mon Jul 10 16:09:26 2006
New Revision: 420654

URL: http://svn.apache.org/viewvc?rev=420654&view=rev
Log:
[CONTINUUM-542] Show message on login error

Modified:
    maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/login.jsp

Modified: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/login.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/login.jsp?rev=420654&r1=420653&r2=420654&view=diff
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/login.jsp (original)
+++ maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/login.jsp Mon
Jul 10 16:09:26 2006
@@ -1,5 +1,7 @@
 <%@ taglib uri="/webwork" prefix="ww" %>
 <%@ taglib uri="continuum" prefix="c1" %>
+<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
+
 <html>
   <ww:i18n name="localization.Continuum">
     <head>
@@ -9,13 +11,10 @@
       <div id="axial" class="h3">
         <h3><ww:text name="login.section.title"/></h3>
 
-        <%-- TODO check parameter login_error, when = 1 means that there was an error
-        This is how I did with JSTL
-
+        <%-- if login_error parameter is present authentication didn't succeed --%>
         <c:if test="${not empty param.login_error}">
-          login error
+          <ww:text name="login.bad_login_password"/>
         </c:if>
-        --%>
 
         <div class="axial">
         <ww:form action="j_acegi_security_check" method="post">
@@ -23,6 +22,7 @@
             <tbody>
               <ww:textfield label="%{getText('login.username')}" name="j_username" required="true"/>
               <ww:password label="%{getText('login.password')}" name="j_password" required="true"/>
+              <%-- TODO integrate remember me with Acegi --%>
               <ww:checkbox label="%{getText('login.rememberMe')}" name="rememberMe" value="rememberMe"
fieldValue="true"/>
             </tbody>
           </table>



Mime
View raw message