cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: cvs commit: cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/flow/javascript Form.js
Date Sat, 03 Apr 2004 15:55:56 GMT
On 02.04.2004 19:42, leo leonid wrote:

>>>> I can't confirm that <wd:submit validate="false"/> functionality is
 
>>>> restored.
>>>> It's OK in Revision 1.2 though. Or did the syntax change?
>>>
>>> Try CForms "aggregate" sample, "switch" button - it was broke before, 
>>> now works.
>>>
>> It still doesn't work in general.
> 
> The problem is, that you only cancel standard validation. But you get 
> stuck if you have a additional custom validation step.

This means you have set a validator on the flow script level, i.e. 
this.validator = aFunction; ??

If so, this feature is more or less deprecated though there was no 
official decision made about this until now, but Sylvain mentioned it as 
he added the possibility of adding validators to every widget. The flow 
script validator was more or less a hack, now you have something official.

Joerg

Mime
View raw message