I have some concern about ${input} in Applicaiton_*.properties, for example:
StringValidator.maximum='${input}' must be at most ${maximum} chars.
Why we use ${input} instead of ${label} here? If I limit maximum of chars as 200
and the user input 201 chars. He/she will get a huge long error message!
case 2: for password field, I will get message like:
'mySecretPassword' must be at most 12 chars.
which make password visible!
case 3: If I have two Date TextField, one is for startDate, the other
is for endDate. Both fields are constraint by DateValidator.maximum. If
the user input both fields as '2005/02/05'. He will get message:
'2005/02/05' must be smaller than 2004/01/01.
but he/she has no idea which field is wrong!
Is there any reason why we prefer ${input} over ${label} ?
--
Ingram Chen
Java [EMAIL PROTECTED]
Institue of BioMedical Sciences Academia Sinica Taiwan
blog: http://www.javaworld.com.tw/roller/page/ingramchen
- [Wicket-user] Some concern about default Application.prope... Ingram Chen
- Re: [Wicket-user] Some concern about default Applicat... Johan Compagner
- Re: [Wicket-user] Some concern about default Appl... Igor Vaynberg
- Re: [Wicket-user] Some concern about default ... Johan Compagner
- Re: [Wicket-user] Some concern about defa... Igor Vaynberg
- Re: [Wicket-user] Some concern about... Johan Compagner
- Re: [Wicket-user] Some concern a... Igor Vaynberg
- Re: [Wicket-user] Some concern about default Appl... Ingram Chen
- Re: [Wicket-user] Some concern about default ... Igor Vaynberg
- Re: [Wicket-user] Some concern about default Applicat... Joni Suominen
- [Wicket-user] Re: Some concern about default Applicat... Ingram Chen
