Update of
/var/cvs/contributions/CMSContainer_Portlets/portlets-login/src/webapp/WEB-INF/templates/view/login
In directory
james.mmbase.org:/tmp/cvs-serv18214/webapp/WEB-INF/templates/view/login
Modified Files:
Tag: b1_5
register.jsp
Log Message:
CMSC-1351 - Newsletter - Register view clears the input fields if you input
something wrong
See also:
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Portlets/portlets-login/src/webapp/WEB-INF/templates/view/login
See also: http://www.mmbase.org/jira/browse/CMSC-1351
Index: register.jsp
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer_Portlets/portlets-login/src/webapp/WEB-INF/templates/view/login/register.jsp,v
retrieving revision 1.1.2.7
retrieving revision 1.1.2.8
diff -u -b -r1.1.2.7 -r1.1.2.8
--- register.jsp 27 Mar 2009 11:56:38 -0000 1.1.2.7
+++ register.jsp 31 Mar 2009 05:53:15 -0000 1.1.2.8
@@ -12,7 +12,7 @@
<table class="formcontent">
<tr>
<td class="fieldname"><fmt:message key="register.email" /></td>
- <td><input type="text" name="email" size='30' /><font
color="red">*</font></td>
+ <td><input type="text" name="email" size='30' value="${email}"
/><font color="red">*</font></td>
</tr>
<c:if test="${!empty errormessages['email']}">
<tr>
@@ -21,7 +21,7 @@
</c:if>
<tr>
<td class="fieldname"><fmt:message key="register.firstName" /></td>
- <td><input type="text" name="firstName" size="30" /><font
color="red">*</font></td>
+ <td><input type="text" name="firstName" size="30"
value="${firstName}" /><font color="red">*</font></td>
</tr>
<c:if test="${!empty errormessages['firstname']}">
<tr>
@@ -30,11 +30,11 @@
</c:if>
<tr>
<td class="fieldname"><fmt:message key="register.infix" /></td>
- <td><input type="text" name="infix" size="15" /></td>
+ <td><input type="text" name="infix" size="15" value="${infix}"
/></td>
</tr>
<tr>
<td class="fieldname"><fmt:message key="register.lastname" /></td>
- <td><input type="text" name="lastName" size='30' /><font
color="red">*</font></td>
+ <td><input type="text" name="lastName" size='30'
value="${lastName}" /><font color="red">*</font></td>
</tr>
<c:if test="${!empty errormessages['lastname']}">
<tr>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs