Re: [Wicket-user] specific validation messages/custom converters...

2007-04-04 Thread Igor Vaynberg

see componentfeedbackpanel

-igor


On 4/4/07, Julian Klappenbach <[EMAIL PROTECTED]> wrote:


Is there a way to output error messages per field, ie specify a feedback
span per field that only displays error messages for that field?

On 9/13/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
>
> In other words: his bar bum years are over and he can code instead of
> chasing girls all the time :)
>
> Eelco
>
>
> On 9/13/06, Igor Vaynberg <[EMAIL PROTECTED] > wrote:
> > i have a gorgeous wife and two beautiful kids :)
> >
> > -Igor
> >
> >
> >
> > On 9/13/06, Erik Brakkee <[EMAIL PROTECTED]> wrote:
> > > Igor Vaynberg wrote:
> > > > alright, if you check out from wicket-1.x branch (which will be
> 1.2.3
> > > > when it is released) you will have
> > > > ConversionException.setResourceKey (String).
> > > Wow! The people on this list keep on amazing me. Do you have a
> private
> > > life? :-)
> > > >
> > > > -Igor
> > > >
> > > >
> > >
> > >
> > >
> >
> -
> > > Using Tomcat but need to do more? Need to support web services,
> security?
> > > Get stuff done quickly with pre-integrated technology to make your
> job
> > easier
> > > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> > >
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> >
> >
> >
> -
> > Using Tomcat but need to do more? Need to support web services,
> security?
> > Get stuff done quickly with pre-integrated technology to make your job
> > easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
> >
>
> -
>
> Using Tomcat but need to do more? Need to support web services,
> security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] specific validation messages/custom converters...

2007-04-04 Thread Julian Klappenbach

Is there a way to output error messages per field, ie specify a feedback
span per field that only displays error messages for that field?

On 9/13/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:


In other words: his bar bum years are over and he can code instead of
chasing girls all the time :)

Eelco


On 9/13/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> i have a gorgeous wife and two beautiful kids :)
>
> -Igor
>
>
>
> On 9/13/06, Erik Brakkee <[EMAIL PROTECTED]> wrote:
> > Igor Vaynberg wrote:
> > > alright, if you check out from wicket-1.x branch (which will be
1.2.3
> > > when it is released) you will have
> > > ConversionException.setResourceKey(String).
> > Wow! The people on this list keep on amazing me. Do you have a private
> > life? :-)
> > >
> > > -Igor
> > >
> > >
> >
> >
> >
>
-
> > Using Tomcat but need to do more? Need to support web services,
security?
> > Get stuff done quickly with pre-integrated technology to make your job
> easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
> >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
>
-
> Using Tomcat but need to do more? Need to support web services,
security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] specific validation messages/custom converters...

2006-09-13 Thread Eelco Hillenius
In other words: his bar bum years are over and he can code instead of
chasing girls all the time :)

Eelco


On 9/13/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> i have a gorgeous wife and two beautiful kids :)
>
> -Igor
>
>
>
> On 9/13/06, Erik Brakkee <[EMAIL PROTECTED]> wrote:
> > Igor Vaynberg wrote:
> > > alright, if you check out from wicket-1.x branch (which will be 1.2.3
> > > when it is released) you will have
> > > ConversionException.setResourceKey(String).
> > Wow! The people on this list keep on amazing me. Do you have a private
> > life? :-)
> > >
> > > -Igor
> > >
> > >
> >
> >
> >
> -
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job
> easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] specific validation messages/custom converters...

2006-09-13 Thread Igor Vaynberg
i have a gorgeous wife and two beautiful kids :)-IgorOn 9/13/06, Erik Brakkee <[EMAIL PROTECTED]> wrote:
Igor Vaynberg wrote:> alright, if you check out from wicket-1.x branch (which will be 
1.2.3> when it is released) you will have> ConversionException.setResourceKey(String).Wow! The people on this list keep on amazing me. Do you have a privatelife? :-)>> -Igor>
>-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] specific validation messages/custom converters...

2006-09-13 Thread Erik Brakkee
Igor Vaynberg wrote:
> alright, if you check out from wicket-1.x branch (which will be 1.2.3
> when it is released) you will have
> ConversionException.setResourceKey(String).
Wow! The people on this list keep on amazing me. Do you have a private
life? :-)
>
> -Igor
>
>


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] specific validation messages/custom converters...

2006-09-13 Thread Igor Vaynberg
alright, if you check out from wicket-1.x branch (which will be 1.2.3 when it is released) you will have ConversionException.setResourceKey(String).-IgorOn 9/13/06, 
Igor Vaynberg <[EMAIL PROTECTED]> wrote:
hmm, right now we dont support it, although it should be pretty easy to do. we will need to add a field to ConversionException to let you specify the key, and then append that to the resourcekey.give me a bit

-IgorOn 9/13/06, Erik Brakkee <[EMAIL PROTECTED]
> wrote:



  
  


Igor Vaynberg wrote:
you can use TypeValidator for the generic key
  
or TypeValidator. for the specific keys
eg TypeValidator.PhoneNumber <= if conversion string->phonenumber
failed.


I am already using this, but I want to one level more specific, for
instance:

TypeValidator.PhoneNumber.tooshort=Phone number requires at least 10
digits
TypeValidator.PhoneNumber.unrecognized=Unrecognized chars in phone
number, user only digts,  and '-'

In my specific case for a social security number I have three different
specific messages that I can give. 

Cheers
  Erik



-Igor
  
  
  
  On 9/13/06, Erik Brakkee <[EMAIL PROTECTED]> wrote:

  Hi,


Converters allow localized messages to be configured in property files
but as far as I can see it is only possible to specify one validation
message per converted type. In practice it would be nice to specify

multiple ones. This is useful because in my code I can give a detailed
explanation of exactly what went wrong so it would be more user friendly
if I could also give these specific messages to users.

Is something like this possible with wicket?


Cheers
  Erik

-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier

Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  





-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list

Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] specific validation messages/custom converters...

2006-09-13 Thread Igor Vaynberg
hmm, right now we dont support it, although it should be pretty easy to do. we will need to add a field to ConversionException to let you specify the key, and then append that to the resourcekey.give me a bit
-IgorOn 9/13/06, Erik Brakkee <[EMAIL PROTECTED]> wrote:



  
  


Igor Vaynberg wrote:
you can use TypeValidator for the generic key
  
or TypeValidator. for the specific keys
eg TypeValidator.PhoneNumber <= if conversion string->phonenumber
failed.


I am already using this, but I want to one level more specific, for
instance:

TypeValidator.PhoneNumber.tooshort=Phone number requires at least 10
digits
TypeValidator.PhoneNumber.unrecognized=Unrecognized chars in phone
number, user only digts,  and '-'

In my specific case for a social security number I have three different
specific messages that I can give. 

Cheers
  Erik



-Igor
  
  
  
  On 9/13/06, Erik Brakkee <[EMAIL PROTECTED]> wrote:

  Hi,


Converters allow localized messages to be configured in property files
but as far as I can see it is only possible to specify one validation
message per converted type. In practice it would be nice to specify

multiple ones. This is useful because in my code I can give a detailed
explanation of exactly what went wrong so it would be more user friendly
if I could also give these specific messages to users.

Is something like this possible with wicket?


Cheers
  Erik

-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier

Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  





-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] specific validation messages/custom converters...

2006-09-13 Thread Erik Brakkee




Igor Vaynberg wrote:
you can use TypeValidator for the generic key
  
or TypeValidator. for the specific keys
eg TypeValidator.PhoneNumber <= if conversion string->phonenumber
failed.


I am already using this, but I want to one level more specific, for
instance:

TypeValidator.PhoneNumber.tooshort=Phone number requires at least 10
digits
TypeValidator.PhoneNumber.unrecognized=Unrecognized chars in phone
number, user only digts,  and '-'

In my specific case for a social security number I have three different
specific messages that I can give. 

Cheers
  Erik



-Igor
  
  
  
  On 9/13/06, Erik Brakkee <[EMAIL PROTECTED]> wrote:
  Hi,


Converters allow localized messages to be configured in property files
but as far as I can see it is only possible to specify one validation
message per converted type. In practice it would be nice to specify

multiple ones. This is useful because in my code I can give a detailed
explanation of exactly what went wrong so it would be more user friendly
if I could also give these specific messages to users.

Is something like this possible with wicket?


Cheers
  Erik

-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier

Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] specific validation messages/custom converters...

2006-09-13 Thread Igor Vaynberg
you can use TypeValidator for the generic keyor TypeValidator. for the specific keys eg TypeValidator.PhoneNumber <= if conversion string->phonenumber failed.-Igor
On 9/13/06, Erik Brakkee <[EMAIL PROTECTED]> wrote:
Hi,Converters allow localized messages to be configured in property filesbut as far as I can see it is only possible to specify one validationmessage per converted type. In practice it would be nice to specify
multiple ones. This is useful because in my code I can give a detailedexplanation of exactly what went wrong so it would be more user friendlyif I could also give these specific messages to users.Is something like this possible with wicket?
Cheers  Erik-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user