cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <>
Subject Error message handling in repeater rows
Date Sat, 31 Dec 2005 09:24:49 GMT
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:field id="message" required="false"> <!-- message for outer widgets-->
			<fd:datatype base="string">

		<fd:field id="GroupLabel" required="true">
			<fd:datatype base="string"/>

	<fd:repeater id="dsdata" size="5">

		<fd:field id="dsmessage" required="false">  <!-- message for repeater widgets-->
			<fd:datatype base="string"/>

		<fd:field id="dsYear">
			<fd:datatype base="integer"><fd:convertor type="plain"/></fd:datatype>
  			<fd:range max="2100" min="1900">
				<fd:failmessage>Not in the required range (1900 to 2100)!</fd:failmessage>


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 
CSIR Copyright, Terms and Conditions 
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

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:
For additional commands, e-mail:

View raw message