On Tue, May 23, 2000 at 02:52:25PM -0400, Chris Kimpton wrote:
> String validation = mem.validate();
> if (validation == null) //valid
This would be cleaner as
if (mem.validate(data))
Where the validate method calls data.addMessage to add messages for each
field that is invalid and returns a boolean to indicate whether the
object is in a valid state or not...
--
Sean Legassick
[EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]