cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Portier <...@outerthought.org>
Subject Re: Woody flow example do not work
Date Thu, 21 Aug 2003 11:54:56 GMT


Marc Portier wrote:

<snip />

>> As an interim fix, I propose to call the validator function either 
>> when process() returns true *or* actionCommand != null. It's then the 
>> validator function's responsibility to know if it's called because of 
>> successful validation or because of an actionCommand.
>>
> 
> hm, I'm wondering if the logic doesn't just become a lot more easy to 
> read if validator(this) gets to do this decision making internally.  Of 
> course it would then need the aditional argument "finished" indicating 
> if you expect it to do validation or not?
> 
> (that and changing the name for sure)
> 
> But let me get into this code a bit first to make some more solid 
> statements. (it's part of Bruno's stuff I haven't yet really delved into)
> 

never mind my half baked proposal and rumbling,
I just got into this deeper and saw your fresh committed fix.

nicely solved!

-marc=
-- 
Marc Portier                            http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at              http://radio.weblogs.com/0116284/
mpo@outerthought.org                              mpo@apache.org


Mime
View raw message