cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Chávez <>
Subject Re: validation: repeater must have at least one row
Date Fri, 10 Sep 2004 19:31:03 GMT

Binkley, Peter Escribio :-)
> Is there a way to set a validation rule to ensure that a repeater has at
> least one row? According to the documentation,
> "... a repeater widget does not implement ValidationErrorAware. However, a
> validator attached to a repeater could perform inter-row checks on the
> fields in the different rows of the repeater, and set validation errors on
> these fields (instead of on the repeater itself)."
> But if the repeater has no child rows, there are no fields to set the
> validation errors on. What's the best way to handle this?
> Peter
  Hi Peter,

  I use the widget <fd:messages/> for these case.

> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Carlos Chávez

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message