cocoon-dev mailing list archives

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

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">
    <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>

The definition is:

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

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

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

    <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:booleanfield id="marcar">
      <wd:hint>Seleccione si desea borrar este registro</wd:hint>

View raw message