To me, external validation is only useful in some rare situations. 

I often see validation as 'business validation' (for most uses, validation
goes beyond checking if a field is required), and find it often too bloated
when externalized (XML). I find the doExecute and doValidate combination
easy to read, you can directly see which business logic in doExecute needs
which business validation in doValidate.

Mathias

-----Original Message-----
From: Hani Suleiman [mailto:[EMAIL PROTECTED] 
Sent: woensdag 23 juli 2003 16:58
To: [EMAIL PROTECTED]
Subject: RE: [OS-webwork] xdoclet module


Wow, this is the first good reason for having external validation I've EVER
heard. There's hope for you yet Jason!

Jason Carreira said:
>>
>> Why folks need to make validation so dynamic I still have yet to 
>> understand.  If my forms change, validation changes.  They are 
>> intimately tied in the applications I've been working on.  I 
>> certainly am not so close-minded to think that my apps are 
>> generically representative, so that is why I think flexibility in how
>> folks work is
>> important.  To each his/her own.
>>
>>      Erik
>
> Well, I like having validation dynamic by being outside the class 
> because I have different contexts in which I want to validate a class. 
> Data entry has one set of validations, whereas batch loading has 
> another, etc... Having external metadata about this makes it possible 
> for me to automatically validate in the correct context.
>
> Jason
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including 
> Data Reports, E-commerce, Portals, and Forums are available now. 
> Download today and enter to win an XBOX or Visual Studio .NET. 
> http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/
> 01
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork






-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data
Reports, E-commerce, Portals, and Forums are available now. Download today
and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Opensymphony-webwork mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to