I'd appreciate it if anyone could point to how to setup handling of error messages for fields in repeater rows... the method I am using does not seem to be working?
I have setup a new error message widget inside of the repeater row, but it does not seem to receive a fail message when, for example, an integer is out of range e.g. <fd:form xmlns:fd="http://apache.org/cocoon/forms/1.0#definition" xmlns:i18n="http://apache.org/cocoon/i18n/2.1"> <fd:widgets> <fd:field id="message" required="false"> <!-- message for outer widgets--> <fd:label></fd:label> <fd:datatype base="string"> </fd:datatype> </fd:field> <fd:field id="GroupLabel" required="true"> <fd:label>Label</fd:label> <fd:datatype base="string"/> </fd:field> <fd:repeater id="dsdata" size="5"> <fd:widgets> <fd:field id="dsmessage" required="false"> <!-- message for repeater widgets--> <fd:label></fd:label> <fd:datatype base="string"/> </fd:field> <fd:field id="dsYear"> <fd:label>Year</fd:label> <fd:datatype base="integer"><fd:convertor type="plain"/></fd:datatype> <fd:validation> <fd:range max="2100" min="1900"> <fd:failmessage>Not in the required range (1900 to 2100)!</fd:failmessage> </fd:range> </fd:validation> </fd:field> Thanks! Derek -- 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 [EMAIL PROTECTED] This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
