cancel
Showing results for 
Search instead for 
Did you mean: 

Property Validation

rich_weiskopf
Champ in-the-making
Champ in-the-making
1.  Added some additional properties (within an aspect).
2.  Need to validate/return error message for user entered values.
3.  Looked at 'converters' *.java, but they seem to be for translating the Repository property value into human readable form.
4.  Entered an alphabetic character in am 'int' datatype property and received a generic error message in response.
5.  Is there some way to specify a custom validation routine for a specific property?

TIA
Rich
2 REPLIES 2

gavinc
Champ in-the-making
Champ in-the-making
Unfortunately not at the moment if you use the propertySheet as all the components are generated dynamically.

You could (if you know the set of properties) use the standard JSF components and set them up with the validation components built into JSF.

However, in the release 1.3 we are adding support for property constraints (validation) which will be built in to propertySheet. The support has already been added in the repository (available from SVN) but the propertySheet work has not been completed yet.

rich_weiskopf
Champ in-the-making
Champ in-the-making
Thanks!