You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by René Hartwig <Re...@befine-solutions.com> on 2013/01/28 09:29:21 UTC

MinimumValidator shows password in error message

Hi,

I recognized that the MinimumValidator shows the given password in its 
error message.
Is that intentional?


Best regards,

René Hartwig
-- 

René Hartwig
Senior Developer

*Befine Solutions AG - The Cryptshare Company*
Bebelstraße 17
79108 Freiburg
Germany

Tel: +49 (0) 761 38913 0
Fax: +49 (0) 761 38913 115

E-Mail: _Rene.Hartwig@befine-solutions.com_
Internet: http://www.cryptshare.com

=========================================================================

Your attachments are too large or too confidential for e-mail?
Get to know Cryptshare!

http://www.cryptshare.com

=========================================================================

<http://www.facebook.com/cryptshare><http://www.linkedin.com/company/befine-solutions/products>

Amtsgericht Freiburg HRB 6144
Vorstand Mark Forrest, Dominik Lehr
Aufsichtsratsvorsitzender Edgar Fehrenbacher



Re: MinimumValidator shows password in error message

Posted by Martin Grigorov <mg...@apache.org>.
Hi Ernesto,

Any improvements are always welcome! :-)


On Mon, Jan 28, 2013 at 10:50 AM, Ernesto Reinaldo Barreiro <
reiern70@gmail.com> wrote:

> Martin,
>
> I see Application_es.properties does not contain Spanish translation "new
> messages" on Application.properties... Shall I will fix that and attach
> patch to a new issue?
>
> Cheers,
>
> Ernesto
>
> On Mon, Jan 28, 2013 at 9:39 AM, Martin Grigorov <mgrigorov@apache.org
> >wrote:
>
> > Hi,
> >
> > You don't mention which version you use.
> > This is improved in Wicket 6.
> >
> > RangeValidator.minimum=The value of '${label}' must be at least
> ${minimum}.
> > RangeValidator.maximum=The value of '${label}' must be at most
> ${maximum}.
> >
> > #deprecated, use RangeValidator.minimum
> > MinimumValidator=The value of '${label}' must be at least ${minimum}.
> >
> > i.e. now it says something like: The value of 'password field' must be at
> > least 6
> >
> > You can always provide your own message by adding
> >       password.RangeValidator.minimum=The password is too short
> > in MyApplication.properties
> >
> >
> > On Mon, Jan 28, 2013 at 10:29 AM, René Hartwig <
> > Rene.Hartwig@befine-solutions.com> wrote:
> >
> >>  Hi,
> >>
> >> I recognized that the MinimumValidator shows the given password in its
> >> error message.
> >> Is that intentional?
> >>
> >>
> >> Best regards,
> >>
> >> René Hartwig
> >> --
> >>
> >> René Hartwig
> >> Senior Developer
> >>
> >> *Befine Solutions AG - The Cryptshare Company*
> >> Bebelstraße 17
> >> 79108 Freiburg
> >> Germany
> >>
> >> Tel: +49 (0) 761 38913 0
> >> Fax: +49 (0) 761 38913 115
> >>
> >> E-Mail: *Rene.Hartwig@befine-solutions.com*
> >> Internet: http://www.cryptshare.com
> >>
> >>
> =========================================================================
> >>
> >> Your attachments are too large or too confidential for e-mail?
> >> Get to know Cryptshare!
> >>
> >> http://www.cryptshare.com
> >>
> >>
> =========================================================================
> >>
> >>  <http://www.facebook.com/cryptshare><
> http://www.linkedin.com/company/befine-solutions/products>
> >>
> >> Amtsgericht Freiburg HRB 6144
> >> Vorstand Mark Forrest, Dominik Lehr
> >> Aufsichtsratsvorsitzender Edgar Fehrenbacher
> >>
> >>
> >>
> >>
> >
> >
> >
> > --
> > Martin Grigorov
> > jWeekend
> > Training, Consulting, Development
> > http://jWeekend.com <http://jweekend.com/>
> >
>
>
>
> --
> Regards - Ernesto Reinaldo Barreiro
> Antilia Soft
> http://antiliasoft.com/ <http://antiliasoft.com/antilia>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Re: MinimumValidator shows password in error message

Posted by Ernesto Reinaldo Barreiro <re...@gmail.com>.
Martin,

I see Application_es.properties does not contain Spanish translation "new
messages" on Application.properties... Shall I will fix that and attach
patch to a new issue?

Cheers,

Ernesto

On Mon, Jan 28, 2013 at 9:39 AM, Martin Grigorov <mg...@apache.org>wrote:

> Hi,
>
> You don't mention which version you use.
> This is improved in Wicket 6.
>
> RangeValidator.minimum=The value of '${label}' must be at least ${minimum}.
> RangeValidator.maximum=The value of '${label}' must be at most ${maximum}.
>
> #deprecated, use RangeValidator.minimum
> MinimumValidator=The value of '${label}' must be at least ${minimum}.
>
> i.e. now it says something like: The value of 'password field' must be at
> least 6
>
> You can always provide your own message by adding
>       password.RangeValidator.minimum=The password is too short
> in MyApplication.properties
>
>
> On Mon, Jan 28, 2013 at 10:29 AM, René Hartwig <
> Rene.Hartwig@befine-solutions.com> wrote:
>
>>  Hi,
>>
>> I recognized that the MinimumValidator shows the given password in its
>> error message.
>> Is that intentional?
>>
>>
>> Best regards,
>>
>> René Hartwig
>> --
>>
>> René Hartwig
>> Senior Developer
>>
>> *Befine Solutions AG - The Cryptshare Company*
>> Bebelstraße 17
>> 79108 Freiburg
>> Germany
>>
>> Tel: +49 (0) 761 38913 0
>> Fax: +49 (0) 761 38913 115
>>
>> E-Mail: *Rene.Hartwig@befine-solutions.com*
>> Internet: http://www.cryptshare.com
>>
>> =========================================================================
>>
>> Your attachments are too large or too confidential for e-mail?
>> Get to know Cryptshare!
>>
>> http://www.cryptshare.com
>>
>> =========================================================================
>>
>>  <http://www.facebook.com/cryptshare><http://www.linkedin.com/company/befine-solutions/products>
>>
>> Amtsgericht Freiburg HRB 6144
>> Vorstand Mark Forrest, Dominik Lehr
>> Aufsichtsratsvorsitzender Edgar Fehrenbacher
>>
>>
>>
>>
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com <http://jweekend.com/>
>



-- 
Regards - Ernesto Reinaldo Barreiro
Antilia Soft
http://antiliasoft.com/ <http://antiliasoft.com/antilia>

Re: MinimumValidator shows password in error message

Posted by Martin Grigorov <mg...@apache.org>.
On Mon, Jan 28, 2013 at 11:05 AM, René Hartwig <
Rene.Hartwig@befine-solutions.com> wrote:

>  Hi,
>
> yes - it was in wicket 1.5 - as I am now using a custom validator and
> wicket 6 its no problem.
> Just wanted to make sure you are aware of this.
>

Yes, we are aware. There is an entry about this change in the migration to
Wicket 6 page in the Wiki.
Thanks !



>
>
> Thanks and regards,
> René Hartwig
>
>  René Hartwig
> Senior Developer
>
> *Befine Solutions AG - The Cryptshare Company*
> Bebelstraße 17
> 79108 Freiburg
> Germany
>
> Tel: +49 (0) 761 38913 0
> Fax: +49 (0) 761 38913 115
>
> E-Mail: *Rene.Hartwig@befine-solutions.com*
> Internet: http://www.cryptshare.com
>
> =========================================================================
>
> Your attachments are too large or too confidential for e-mail?
> Get to know Cryptshare!
>
> http://www.cryptshare.com
>
> =========================================================================
>
>  <http://www.facebook.com/cryptshare><http://www.linkedin.com/company/befine-solutions/products>
>
> Amtsgericht Freiburg HRB 6144
> Vorstand Mark Forrest, Dominik Lehr
> Aufsichtsratsvorsitzender Edgar Fehrenbacher
>
>
>
>  Am 28.01.2013 09:39, schrieb Martin Grigorov:
>
> Hi,
>
>  You don't mention which version you use.
> This is improved in Wicket 6.
>
>  RangeValidator.minimum=The value of '${label}' must be at least
> ${minimum}.
> RangeValidator.maximum=The value of '${label}' must be at most ${maximum}.
>
>  #deprecated, use RangeValidator.minimum
> MinimumValidator=The value of '${label}' must be at least ${minimum}.
>
>  i.e. now it says something like: The value of 'password field' must be
> at least 6
>
> You can always provide your own message by adding
>       password.RangeValidator.minimum=The password is too short
> in MyApplication.properties
>
>  On Mon, Jan 28, 2013 at 10:29 AM, René Hartwig <
> Rene.Hartwig@befine-solutions.com> wrote:
>
>>  Hi,
>>
>> I recognized that the MinimumValidator shows the given password in its
>> error message.
>> Is that intentional?
>>
>>
>> Best regards,
>>
>> René Hartwig
>> --
>>
>> René Hartwig
>> Senior Developer
>>
>> *Befine Solutions AG - The Cryptshare Company*
>> Bebelstraße 17
>> 79108 Freiburg
>> Germany
>>
>> Tel: +49 (0) 761 38913 <%2B49%20%280%29%20761%2038913> 0
>> Fax: +49 (0) 761 38913 115 <%2B49%20%280%29%20761%2038913%20115>
>>
>> E-Mail: *Rene.Hartwig@befine-solutions.com*
>> Internet: http://www.cryptshare.com
>>
>> =========================================================================
>>
>> Your attachments are too large or too confidential for e-mail?
>> Get to know Cryptshare!
>>
>> http://www.cryptshare.com
>>
>> =========================================================================
>>
>>  <http://www.facebook.com/cryptshare><http://www.linkedin.com/company/befine-solutions/products>
>>
>> Amtsgericht Freiburg HRB 6144
>> Vorstand Mark Forrest, Dominik Lehr
>> Aufsichtsratsvorsitzender Edgar Fehrenbacher
>>
>>
>>
>>
>
>
>
>  --
>  Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com <http://jweekend.com/>
>
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Re: MinimumValidator shows password in error message

Posted by René Hartwig <Re...@befine-solutions.com>.
Hi,

yes - it was in wicket 1.5 - as I am now using a custom validator and 
wicket 6 its no problem.
Just wanted to make sure you are aware of this.


Thanks and regards,
René Hartwig

René Hartwig
Senior Developer

*Befine Solutions AG - The Cryptshare Company*
Bebelstraße 17
79108 Freiburg
Germany

Tel: +49 (0) 761 38913 0
Fax: +49 (0) 761 38913 115

E-Mail: _Rene.Hartwig@befine-solutions.com_
Internet: http://www.cryptshare.com

=========================================================================

Your attachments are too large or too confidential for e-mail?
Get to know Cryptshare!

http://www.cryptshare.com

=========================================================================

<http://www.facebook.com/cryptshare><http://www.linkedin.com/company/befine-solutions/products>

Amtsgericht Freiburg HRB 6144
Vorstand Mark Forrest, Dominik Lehr
Aufsichtsratsvorsitzender Edgar Fehrenbacher


Am 28.01.2013 09:39, schrieb Martin Grigorov:
> Hi,
>
> You don't mention which version you use.
> This is improved in Wicket 6.
>
> RangeValidator.minimum=The value of '${label}' must be at least 
> ${minimum}.
> RangeValidator.maximum=The value of '${label}' must be at most ${maximum}.
>
> #deprecated, use RangeValidator.minimum
> MinimumValidator=The value of '${label}' must be at least ${minimum}.
>
> i.e. now it says something like: The value of 'password field' must be 
> at least 6
>
> You can always provide your own message by adding
> password.RangeValidator.minimum=The password is too short
> in MyApplication.properties
>
> On Mon, Jan 28, 2013 at 10:29 AM, René Hartwig 
> <Rene.Hartwig@befine-solutions.com 
> <ma...@befine-solutions.com>> wrote:
>
>     Hi,
>
>     I recognized that the MinimumValidator shows the given password in
>     its error message.
>     Is that intentional?
>
>
>     Best regards,
>
>     René Hartwig
>     -- 
>
>     René Hartwig
>     Senior Developer
>
>     *Befine Solutions AG - The Cryptshare Company*
>     Bebelstraße 17
>     79108 Freiburg
>     Germany
>
>     Tel: +49 (0) 761 38913 <tel:%2B49%20%280%29%20761%2038913> 0
>     Fax: +49 (0) 761 38913 115 <tel:%2B49%20%280%29%20761%2038913%20115>
>
>     E-Mail: _Rene.Hartwig@befine-solutions.com
>     <ma...@befine-solutions.com>_
>     Internet: http://www.cryptshare.com
>
>     =========================================================================
>
>     Your attachments are too large or too confidential for e-mail?
>     Get to know Cryptshare!
>
>     http://www.cryptshare.com
>
>     =========================================================================
>
>     <http://www.facebook.com/cryptshare><http://www.linkedin.com/company/befine-solutions/products>
>
>     Amtsgericht Freiburg HRB 6144
>     Vorstand Mark Forrest, Dominik Lehr
>     Aufsichtsratsvorsitzender Edgar Fehrenbacher
>
>
>
>
>
> -- 
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com <http://jweekend.com/>


Re: MinimumValidator shows password in error message

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

You don't mention which version you use.
This is improved in Wicket 6.

RangeValidator.minimum=The value of '${label}' must be at least ${minimum}.
RangeValidator.maximum=The value of '${label}' must be at most ${maximum}.

#deprecated, use RangeValidator.minimum
MinimumValidator=The value of '${label}' must be at least ${minimum}.

i.e. now it says something like: The value of 'password field' must be at
least 6

You can always provide your own message by adding
      password.RangeValidator.minimum=The password is too short
in MyApplication.properties

On Mon, Jan 28, 2013 at 10:29 AM, René Hartwig <
Rene.Hartwig@befine-solutions.com> wrote:

>  Hi,
>
> I recognized that the MinimumValidator shows the given password in its
> error message.
> Is that intentional?
>
>
> Best regards,
>
> René Hartwig
> --
>
> René Hartwig
> Senior Developer
>
> *Befine Solutions AG - The Cryptshare Company*
> Bebelstraße 17
> 79108 Freiburg
> Germany
>
> Tel: +49 (0) 761 38913 0
> Fax: +49 (0) 761 38913 115
>
> E-Mail: *Rene.Hartwig@befine-solutions.com*
> Internet: http://www.cryptshare.com
>
> =========================================================================
>
> Your attachments are too large or too confidential for e-mail?
> Get to know Cryptshare!
>
> http://www.cryptshare.com
>
> =========================================================================
>
>  <http://www.facebook.com/cryptshare><http://www.linkedin.com/company/befine-solutions/products>
>
> Amtsgericht Freiburg HRB 6144
> Vorstand Mark Forrest, Dominik Lehr
> Aufsichtsratsvorsitzender Edgar Fehrenbacher
>
>
>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>