cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <DHo...@csir.co.za>
Subject Nested repeaters in CForms
Date Tue, 07 Sep 2004 07:10:34 GMT
I am sure this topic comes up often; the most recent
thread I found does not seem to be answered,  
http://www.mail-archive.com/users@cocoon.apache.org/msg18607.html

and I cannot get this functionality to work:

  <ft:widget-label id="outer"/><br/>
  <ft:repeater-size id="outer"/>
  <table border="0">
    <tr>
      <td>&#160;</td>
      <td><ft:repeater-widget-label id="outer"
widget-id="outer_id"/></td>
      <td><ft:repeater-widget-label id="outer"
widget-id="outer_title"/></td>
    </tr>
    <ft:repeater-widget id="outer">
    <tr>
      <td><ft:widget id="outer_select"/></td>
      <td><ft:widget id="outer_id"/></td>
      <td><ft:widget id="outer_title"/></td>
    </tr>
    <tr>
    <td colspan="3">
    
      <ft:widget-label id="inner"/><br/>
      <ft:repeater-size id="inner"/>
      <table border="0">
        <tr>
          <th>&#160;</th>
          <th><ft:repeater-widget-label id="inner"
widget-id="inner_id"/></th>
          <th><ft:repeater-widget-label id="inner"
widget-id="inner_y"/></th>
          <th><ft:repeater-widget-label id="inner"
widget-id="inner_order"/></th>
        </tr>
        <ft:repeater-widget id="inner">
          <tr>
            <td><ft:widget id="inner_select"/></td>
            <td><ft:widget id="inner_id"/></td>
            <td><ft:widget id="inner_y"/></td>
          </tr>
        </ft:repeater-widget>
        <tr>
          <td colspan="5" align="center">
            <ft:widget id="addinner"/>
            <ft:widget id="removeinner"/>
          </td>
        </tr>
      </table>              
    
    </td>
    </tr>                
    
    </ft:repeater-widget>
    <tr>
      <td colspan="6" align="center">
        <ft:widget id="addouter"/>
        <ft:widget id="removeouter"/>
      </td>
    </tr>
  </table> 



The error from Cocoon is:

org.apache.cocoon.ProcessingException: Failed to execute pipeline.: 
org.xml.sax.SAXException: EffectFormTemplateTransformer: 
Widget with id "inner" does not exist in the container "outer.0"

Can anyone translate this into a message that will allow me
to make changes to the code??

Thanks
Derek


-- 
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message