cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Omar Adobati <>
Subject Form Description, Form Template & Repeater
Date Wed, 16 Nov 2005 21:38:09 GMT
Hello Cocooners,

  here is a sample of the code I'm trying to write:

1. the form definition
  <fd:repeater id="TelNumbers">
        <fd:field id="Type">
          <fd:datatype base="long"/>
        <fd:field id="Value">
          <fd:label>tel Number</fd:label>
          <fd:datatype base="string"/>

2. the form template
      <ft:repeater id="TelNumbers" initial-size="2">
          <ft:repeater-widget-label widget-id="Type"/>
          <ft:widget id="Type"/>
          <ft:repeater-widget-label widget-id="Value"/>
          <ft:widget id="Value"/>

and here is the error cocoon gives me back:

org.apache.cocoon.forms.FormsRuntimeException: Repeater 'TelNumbers'
has no child named 'Type'
fd:repeater - file:/C:/Programmi/Apache%20Software%20Foundation/Tomcat%205.5/webapps/cocoon/CFormTest/forms/employee.xml
- 97:38

where is the problem?

tanks again for your helps

Omar Adobati

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

View raw message