Victor Salaman wrote:

>> The current code only calls validation if no command is set. Hm.. maybe
>> this should be changed... what do ya'll think?
> 
> -1 ... Each command could require different validations, and given the 
> fact that you can't call something like getCommand, there would no way 
> to detect from where are you coming from... and beats the purpose... KISS


Well, that's not true. You can call "isCommand(<name>)" to determine 
which command is being invoked.


>>> I have overcome these issues by implmenting Parameter aware to retirve
>>> parameters manually and calling doValidate from my doXxx command
>>> implementation.
> 
> I have recently done integration with formproc. Amazingly it's just one 
> class and requires no changes to WW. I'll commit tonight if you guys 
> like the idea.

Can you give us an example here first?

/Rickard

-- 
Rickard �berg
Author of "Mastering RMI"
Chief Architect, TheServerSide.com
   The Middleware Company - We Build Experts!


_______________________________________________
Webwork-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webwork-user

Reply via email to