cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo" <agalla...@agsoftware.dnsalias.com>
Subject Re: [Woody] Weird behavior
Date Sat, 15 Nov 2003 14:40:31 GMT
Hi:

Interesting enough. The generated form has replicated the last field of
the defined repeater in every cell of the grid. Note this just happen
after restarting cocoon and you see the page first time. Then all is
normal. You don't need to change nothing.

Someone else saw tis bug?

Best Regards,

Antonio Gallardo

Here is a snip of the template:

<wt:repeater-widget id="transaccion">
  <tr>
    <td><wt:widget id="s_nombre"/></td>
    <td><wt:widget id="s_NoCedula"/></td>
    <td><wt:widget id="s_correoe"/></td>
    <td><wt:widget id="marcar"/></td>
  </tr>
</wt:repeater-widget>

The definition is:

<wd:repeater id="transaccion">
  <wd:widgets>
    <wd:output id="s_id"><wd:datatype base="integer"/></wd:output>

    <wd:field id="s_nombre" required="true">
      <wd:label>Nombre</wd:label>
      <wd:hint>Nombre del Área</wd:hint>
      <wd:datatype base="string">
        <wd:validation><wd:length min="5" max="50"/></wd:validation>
      </wd:datatype>
    </wd:field>

    <wd:field id="s_NoCedula" required="true">
      <wd:label>Cédula</wd:label>
      <wd:datatype base="string">
        <wd:validation><wd:length exact="14"/></wd:validation>
      </wd:datatype>
    </wd:field>

    <wd:field id="s_correoe">
      <wd:label>Correo electrónico</wd:label>
      <wd:datatype base="string">
        <wd:validation><wd:length max="80"/><wd:email/></wd:validation>
      </wd:datatype>
    </wd:field>

    <wd:booleanfield id="marcar">
      <wd:label>Marcar</wd:label>
      <wd:hint>Seleccione si desea borrar este registro</wd:hint>
    </wd:booleanfield>
  </wd:widgets>
</wd:repeater>



Mime
View raw message