Správná „maxlength“ ve formulářích (podle DB).
authorFrantišek Kučera <franta-hg@frantovo.cz>
Sat, 15 Jan 2011 23:04:15 +0100
changeset 175a121def64733
parent 174 ca3c7dd220fe
child 176 2472d9e9c0aa
Správná „maxlength“ ve formulářích (podle DB).
java/nekurak.net-web/web/WEB-INF/casti/prihlaseni.jsp
java/nekurak.net-web/web/WEB-INF/casti/registrovatUzivatele.jsp
     1.1 --- a/java/nekurak.net-web/web/WEB-INF/casti/prihlaseni.jsp	Sat Jan 15 18:14:15 2011 +0100
     1.2 +++ b/java/nekurak.net-web/web/WEB-INF/casti/prihlaseni.jsp	Sat Jan 15 23:04:15 2011 +0100
     1.3 @@ -25,7 +25,7 @@
     1.4  
     1.5  				<form method="post" action="j_security_check">
     1.6  					<fieldset>
     1.7 -						<label><fmt:message key="prihlaseni.jmeno"/>: <input type="text" name="j_username"/></label><br/>
     1.8 +						<label><fmt:message key="prihlaseni.jmeno"/>: <input type="text" name="j_username" maxlength="64"/></label><br/>
     1.9  						<label><fmt:message key="prihlaseni.heslo"/>: <input type="password" name="j_password"/></label><br/>
    1.10  						<button value="submit"><fmt:message key="prihlaseni.tlacitko"/></button>
    1.11  					</fieldset>
     2.1 --- a/java/nekurak.net-web/web/WEB-INF/casti/registrovatUzivatele.jsp	Sat Jan 15 18:14:15 2011 +0100
     2.2 +++ b/java/nekurak.net-web/web/WEB-INF/casti/registrovatUzivatele.jsp	Sat Jan 15 23:04:15 2011 +0100
     2.3 @@ -79,12 +79,12 @@
     2.4  				<form method="post" action="?akce=registrovatUzivatele&amp;amp;akceRegistrace=kontrola">
     2.5  					<fieldset>
     2.6  						<fmt:message key="dto.uzivatel.prezdivka.tip" var="prezdivkaTip"/>
     2.7 -						<label title="${prezdivkaTip}"><fmt:message key="dto.uzivatel.prezdivka"/>: <input type="text" name="prezdivka" maxlength="255"/></label><br/>
     2.8 +						<label title="${prezdivkaTip}"><fmt:message key="dto.uzivatel.prezdivka"/>: <input type="text" name="prezdivka" maxlength="64"/></label><br/>
     2.9  						<label><fmt:message key="dto.uzivatel.heslo"/>: <input type="password" name="heslo" maxlength="255"/></label><br/>
    2.10  						<label><fmt:message key="dto.uzivatel.heslo.kontrola"/>: <input type="password" name="heslo_kontrola" maxlength="255"/></label><br/>
    2.11  						<br/>
    2.12 -						<label><fmt:message key="dto.uzivatel.jmeno"/>: <input type="text" name="jmeno" maxlength="255"/></label><br/>
    2.13 -						<label><fmt:message key="dto.uzivatel.prijmeni"/>: <input type="text" name="prijmeni" maxlength="255"/></label><br/>
    2.14 +						<label><fmt:message key="dto.uzivatel.jmeno"/>: <input type="text" name="jmeno" maxlength="64"/></label><br/>
    2.15 +						<label><fmt:message key="dto.uzivatel.prijmeni"/>: <input type="text" name="prijmeni" maxlength="64"/></label><br/>
    2.16  						<label><fmt:message key="dto.uzivatel.email"/>: <input type="text" name="email" maxlength="255"/></label><br/>
    2.17  						<button value="submit"><fmt:message key="registrace.tlacitko"/></button>
    2.18  					</fieldset>