Re: EqualInputValidator for PasswortTextfield

2014-04-01 Thread Daniela L
Hi Alasdair,
thanks a lot for your quick response. I  changed the EqualInputValidator
key to the same text as EqualPasswordInputValidator:
EqualInputValidator =${label0} und ${label1} m\u00fcssen gleich sein.
I propose to change the default text in the wicket
Application_de.properties file in the same way or change the word Label
to Feld because outside the IT world the word Label is not really known
in germany.
Best regards,
Daniela


2014-03-31 12:42 GMT+02:00 Collinson, Alasdair 
alasdair.collin...@senacor.com:

 Hi!

 In such a case the error with the key EqualInputValidator is used; the
 Application_de.properties-file defines the message you see. You could
 override that in your local properties file. However you probably want to
 use the EqualPasswordInputValidator anyway which is a specialisation of the
 EqualInputValidator which should produce the output you want. Here you
 could of course override the value as well if you like.

 Best regards,
 Alasdair

 -Ursprüngliche Nachricht-
 Von: Daniela L [mailto:danigal...@gmail.com]
 Gesendet: Montag, 31. März 2014 12:24
 An: users@wicket.apache.org
 Betreff: EqualInputValidator for PasswortTextfield

 Hi,
 I have two PasswordTextfields with a EqualInputValidator using wicket
 6.12.0 the 2 fields have Labels with localized Names. When the user leaves
 one PasswordTextfield empty the feedback message presented is containing
 the word Label like this:
 '' vom Label E-Mail und 'testemailaddr...@test.com' vom Label E-Mail
 Adresse wiederholen müssen gleich sein.
 How can I avoid the word Label in the feedback message?
 Best regards
 Daniela

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




AW: EqualInputValidator for PasswortTextfield

2014-03-31 Thread Collinson, Alasdair
Hi!

In such a case the error with the key EqualInputValidator is used; the 
Application_de.properties-file defines the message you see. You could override 
that in your local properties file. However you probably want to use the 
EqualPasswordInputValidator anyway which is a specialisation of the 
EqualInputValidator which should produce the output you want. Here you could of 
course override the value as well if you like.

Best regards,
Alasdair

-Ursprüngliche Nachricht-
Von: Daniela L [mailto:danigal...@gmail.com] 
Gesendet: Montag, 31. März 2014 12:24
An: users@wicket.apache.org
Betreff: EqualInputValidator for PasswortTextfield

Hi,
I have two PasswordTextfields with a EqualInputValidator using wicket 6.12.0 
the 2 fields have Labels with localized Names. When the user leaves one 
PasswordTextfield empty the feedback message presented is containing the word 
Label like this:
'' vom Label E-Mail und 'testemailaddr...@test.com' vom Label E-Mail Adresse 
wiederholen müssen gleich sein.
How can I avoid the word Label in the feedback message?
Best regards
Daniela

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org