Re: ExtVal: Rendering component with visual indication for required fields

2010-04-28 Thread Rudy De Busscher
by really using ExtVal's infrastructure!? Tom -Ursprüngliche Nachricht- Von: Gerhard Petracek [mailto:gerhard.petra...@gmail.com] Gesendet: Dienstag, 27. April 2010 00:45 An: MyFaces Discussion Betreff: Re: ExtVal: Rendering component with visual

Re: ExtVal: Rendering component with visual indication for required fields

2010-04-28 Thread Gerhard Petracek
...@gmail.com] Gesendet: Dienstag, 27. April 2010 00:45 An: MyFaces Discussion Betreff: Re: ExtVal: Rendering component with visual indication for required fields hi thomas, basically you have 3 possibilities with extval: - use simple but dynamic validation, jpa

AW: ExtVal: Rendering component with visual indication for required fields

2010-04-28 Thread Tom M.
:45 An: MyFaces Discussion Betreff: Re: ExtVal: Rendering component with visual indication for required fields hi thomas, basically you have 3 possibilities with extval: - use simple but dynamic validation, jpa based validation and cross-validation

Re: ExtVal: Rendering component with visual indication for required fields

2010-04-28 Thread Gerhard Petracek
[mailto:gerhard.petra...@gmail.com] Gesendet: Dienstag, 27. April 2010 00:45 An: MyFaces Discussion Betreff: Re: ExtVal: Rendering component with visual indication for required fields hi thomas, basically you have 3 possibilities with extval: - use

Re: ExtVal: Rendering component with visual indication for required fields

2010-04-28 Thread Gerhard Petracek
-Ursprüngliche Nachricht- Von: Rudy De Busscher [mailto:rdebussc...@gmail.com] Gesendet: Mittwoch, 28. April 2010 12:00 An: MyFaces Discussion Betreff: Re: ExtVal: Rendering component with visual indication for required fields Tom, I quickly assembled the add-on I was thinking

AW: ExtVal: Rendering component with visual indication for required fields

2010-04-27 Thread Tom M.
Betreff: Re: ExtVal: Rendering component with visual indication for required fields hi thomas, basically you have 3 possibilities with extval: - use simple but dynamic validation, jpa based validation and cross-validation - use extval-core + extval-property-validation (+ your custom

Re: ExtVal: Rendering component with visual indication for required fields

2010-04-27 Thread Rudy De Busscher
infrastructure!? Tom -Ursprüngliche Nachricht- Von: Gerhard Petracek [mailto:gerhard.petra...@gmail.com] Gesendet: Dienstag, 27. April 2010 00:45 An: MyFaces Discussion Betreff: Re: ExtVal: Rendering component with visual indication for required fields hi thomas, basically you

Re: ExtVal: Rendering component with visual indication for required fields

2010-04-27 Thread Gerhard Petracek
Discussion Betreff: Re: ExtVal: Rendering component with visual indication for required fields hi thomas, basically you have 3 possibilities with extval: - use simple but dynamic validation, jpa based validation and cross-validation - use extval-core + extval-property-validation

ExtVal: Rendering component with visual indication for required fields

2010-04-26 Thread mynewsgroups
Hi there, I've found some information at http://wiki.apache.org/myfaces/Extensions/Validator/DevDoc, that it is possible to mark components who require a value via a component initializer. In addition I would like to use bean validation and to annotate a class' attributes and mark the input

Re: ExtVal: Rendering component with visual indication for required fields

2010-04-26 Thread Rudy De Busscher
hello, The main issue with your requirement is that at the time of the rendering of the outputlabel, the input text isn't treated yet (because the label is most of the time in front of the input field). So the required property of the input field isn't set yet by the extval framework. (only the

Re: ExtVal: Rendering component with visual indication for required fields

2010-04-26 Thread Gerhard Petracek
hi, short addition: basically it depends on the component lib you are using. e.g. myfaces trinidad supports such indicators out-of-the-box (also based on meta-data - e.g. in combination with extval). - extval + trinidad - no additional effort. without trinidad you have to implement a small

AW: ExtVal: Rendering component with visual indication for required fields

2010-04-26 Thread Tom M.
Discussion Betreff: Re: ExtVal: Rendering component with visual indication for required fields hi, short addition: basically it depends on the component lib you are using. e.g. myfaces trinidad supports such indicators out-of-the-box (also based on meta-data - e.g. in combination with extval

Re: ExtVal: Rendering component with visual indication for required fields

2010-04-26 Thread Gerhard Petracek
Discussion Betreff: Re: ExtVal: Rendering component with visual indication for required fields hi, short addition: basically it depends on the component lib you are using. e.g. myfaces trinidad supports such indicators out-of-the-box (also based on meta-data - e.g. in combination

Re: ExtVal: Rendering component with visual indication for required fields

2010-04-26 Thread Gerhard Petracek
An: MyFaces Discussion Betreff: Re: ExtVal: Rendering component with visual indication for required fields hi, short addition: basically it depends on the component lib you are using. e.g. myfaces trinidad supports such indicators out-of-the-box (also based on meta-data - e.g