Derek Hohls wrote:

(Cocoon 2.1.5)

I get the dreaded java.lang.NullPointerException when I try and introduce Javascript validation into a form. I strippped all the logic out down to an abolsutely basic:

     <fd:validation>
       <fd:javascript>
         var success = true;
return success; </fd:javascript> </fd:validation>

but this does not work - commenting out the
       <fd:javascript>
var success = true; return success; </fd:javascript>
immediately allows the form to be displayed.

This error happens no matter which field of the form
the above code block is assigned to.

What obvious issue am I overlooking??

Seems to be a bug.

Best Regards,

Antonio Gallardo.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to