Hi,
I have a form that uses _javascript_ to perform validation. I've implemented the validator using <fd:_javascript_> in the form definition. Unfortunately, when I enable flow debug I get a NullPointerException on loading the form definition:
Form (resource://org/apache/cocoon/forms/flow/_javascript_/v3/Form.js, Line 54): java.lang.NullPointerException
If disable debug then the problem is solved.
I had noticed this problem previously and implemented a work-around with flow level validators so as not to have to put the _javascript_ in the form definition. Unfortunately I have just upgraded from 2.1.5-dev to 2.1.5 final and to my suprise I discover that support for adding custom flow level validators has been removed so my work-around for this problem no longer works either! (By the way, this also means that the http://localhost:8888/samples/blocks/forms/form1.flow sample no longer works as it should - the _javascript_ validation rule for price per liter of diesel is not enforced).
Please can someone help out with this?
Thanks in advance,
Adrian
- Re: Bug in Forms v1, 2 & 3 using Cocoon v2.1.5, flow, j... Adrian . Cross
- Re: Bug in Forms v1, 2 & 3 using Cocoon v2.1.5, fl... Joerg Heinicke
- Re: Bug in Forms v1, 2 & 3 using Cocoon v2.1.5... Yatin Shah
- Re: Bug in Forms v1, 2 & 3 using Cocoon v2... Joerg Heinicke
