cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <DHo...@csir.co.za>
Subject Re: Error when adding in Javascript for form validation
Date Tue, 28 Feb 2006 07:44:45 GMT
Antonio
 
I do not understand - I thought Javascript validation was 
pretty much a standard and tested part of CForms for a 
while now... are you saying it *never* worked in 2.1.5?!
 
Thanks
Derek

>>> agallardo@agssa.net 2006/02/28 09:17 AM >>>

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: users-unsubscribe@cocoon.apache.org 
For additional commands, e-mail: users-help@cocoon.apache.org 




-- 
This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.
 
CSIR E-mail Legal Notice
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html 
 
CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html 
 
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to
HelpDesk@csir.co.za.


This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message