Vica
 
Not sure what you mean by "hiding".  In the end, I decided to drop
the:
 
<fd:field id="dsmessage" required="false"> 
 
from inside of the repeater, and just handle all the messages in the
outer:
 
<fd:field id="message" required="false">
 
I would still like to know how to do this, though... an example of
the correct syntax would help!

Thanks
Derek

>>> [EMAIL PROTECTED] 2006/01/03 08:16:37 AM >>>
Hmmm .. that's funny. I also have error handling inside repeater rows and
its seems to work ok. Are you by any chance hiding rows(and hence the error
messages)?


Vica

-----Original Message-----
From: Derek Hohls [mailto:[EMAIL PROTECTED] 
Sent: Saturday, 31 December 2005 8:25 PM
To: [email protected] 
Subject: Error message handling in repeater rows


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]