Re: Project Wonder Validity Framework
Michael Sacket <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Gino, You don't need to provide any parameters to the dictionary to check for NULL values, instead, do the following: 1) Make the first rule of your attribute the null check. 2) Name is something like 'Check for NULL' 3) Set the rule type/class name to com.gammastream.validity.GSVStringMethods 4) Set the Method Name to: 'isStringEmpty' 5) Check the Negate box 6) Check the Fail If NULL box 7) Check Stop if Fails box That should do it. Michael On Feb 2, 2007, at 11:49 AM, Gino Pacitti wrote: > Hi all > > Can anyone help with setting up a rule for a field using the > Validity Modeler. > > I can understand where I need to add a dictionary parameter to the > rule and it will check for that against the input. > > But what about where I need to check against a empty input field - > I am not sure what parameters need to be set up in the rule. > > > Any help appreciated. > > Gino > _______________________________________________ > WebObjects-dev mailing list > [email protected] > http://www.omnigroup.com/mailman/listinfo/webobjects-dev