Re: [Wicket-user] Customizing TypeValidator's "type"

2006-03-02 Thread Martijn Dashorst
My connection just timed out... ah... different time zones :) Martijn On 3/1/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > uhmno thankswho would want to be the head of something so broken? > wouldnt be a fun place to be i would imagine :) > > > -Igor > > > On 3/1/06, Eelco Hillenius <[E

Re: [Wicket-user] Customizing TypeValidator's "type"

2006-03-01 Thread Igor Vaynberg
uhmno thankswho would want to be the head of something so broken? wouldnt be a fun place to be i would imagine :)-IgorOn 3/1/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: Igor, head of cvs :)On 3/1/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:> arent they one and the same?>> -Igor>>> > On

Re: [Wicket-user] Customizing TypeValidator's "type"

2006-03-01 Thread Igor Vaynberg
arent they one and the same?-IgorOn 3/1/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: Your's or CVS? ;)On 3/1/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:> done in head>>> -Igor>>> On 3/1/06, Nick Heudecker <[EMAIL PROTECTED]> wrote: > >> > Yeah, that will work very well.> >> >> >> > On 3/1/06, I

Re: [Wicket-user] Customizing TypeValidator's "type"

2006-03-01 Thread Eelco Hillenius
Igor, head of cvs :) On 3/1/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > arent they one and the same? > > -Igor > > > > On 3/1/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > > Your's or CVS? ;) > > On 3/1/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote: > > done in head > > > > > > -Igor > > >

Re: [Wicket-user] Customizing TypeValidator's "type"

2006-03-01 Thread Eelco Hillenius
Your's or CVS? ;) On 3/1/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > done in head > > > -Igor > > > On 3/1/06, Nick Heudecker <[EMAIL PROTECTED]> wrote: > > > > Yeah, that will work very well. > > > > > > > > On 3/1/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > > > > > with my recent refacto

Re: [Wicket-user] Customizing TypeValidator's "type"

2006-03-01 Thread Igor Vaynberg
done in head-IgorOn 3/1/06, Nick Heudecker <[EMAIL PROTECTED]> wrote: Yeah, that will work very well.On 3/1/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: with my recent refactorings i can add another key to be searched that is "TypeValidator".Typeso keys like TypeValidator.BigDecimal will take pri

Re: [Wicket-user] Customizing TypeValidator's "type"

2006-03-01 Thread Nick Heudecker
Yeah, that will work very well.On 3/1/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: with my recent refactorings i can add another key to be searched that is "TypeValidator".Typeso keys like TypeValidator.BigDecimal will take priority over TypeValidator that way you can create the keys for different

Re: [Wicket-user] Customizing TypeValidator's "type"

2006-03-01 Thread Igor Vaynberg
then he would have to write his own TypeValidator. currently we perform type conversion internally (w/out typevalidator which is deprecated now) so i dont see how he can override that.best thing i can do is search for different keys. -IgorOn 3/1/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: You ca

Re: [Wicket-user] Customizing TypeValidator's "type"

2006-03-01 Thread Eelco Hillenius
You can override method messageModel to deliver your own map. Eelco On 3/1/06, Nick Heudecker <[EMAIL PROTECTED]> wrote: > TypeValidator adds a "${type}" key for validation messages. Is there any > way to customize this for the specific case? For instance, I use > TypeValidator for BigDecimals

Re: [Wicket-user] Customizing TypeValidator's "type"

2006-03-01 Thread Igor Vaynberg
with my recent refactorings i can add another key to be searched that is "TypeValidator".Typeso keys like TypeValidator.BigDecimal will take priority over TypeValidatorthat way you can create the keys for different types. sound good?-IgorOn 3/1/06, Nick Heudecker <[EMAIL PROTECTED]> wrote: TypeVali

[Wicket-user] Customizing TypeValidator's "type"

2006-03-01 Thread Nick Heudecker
TypeValidator adds a "${type}" key for validation messages.  Is there any way to customize this for the specific case?  For instance, I use TypeValidator for BigDecimals and Dates.  I don't want my users seeing " java.math.BigDecimal" or "java.util.Date" in the validation messages.Thanks for your t