This content has been marked as final.
Show 2 replies
-
1. Re: ClientValidation interceptor
thomasra Feb 20, 2003 10:29 AM (in response to thomasra)To add some more ideas to this...how about writing some simple xdoclet tags on a method in a class, and have that generate a rule implementation to be used in a client-side validation interceptor? That would be really cool - keeping all the code still in the bean, but also declaratively putting parameter logic validation on methods....cool.
thomas -
2. Re: ClientValidation interceptor
thomasra Feb 20, 2003 10:36 AM (in response to thomasra)...like..
/**
* @jboss:client-validation-rule
* name="User id must be larger than 0"
* rule="id > 0"
*
*/
public String getUserNameById(int id) {
...
}