cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo" <agalla...@agsoftware.dnsalias.com>
Subject Woody <wb:repeater> as the only widget inside a <wb:form>
Date Thu, 23 Oct 2003 05:57:03 GMT
Hi:

Can be <wd:repeater> the only widget inside a <wd:form>?

I tought it can be used as a "grid" table. Example:

Suppuse you have a simple table with 2 fields: are_id and are_name:

Here is the woody definition file:

<wd:form xmlns:wd="http://apache.org/cocoon/woody/definition/1.0">

<wd:repeater id="transaction">
  <wd:field id="area_id" required="true">
    <wd:label>Id: </wd:label>
    <wd:datatype base="integer"/>
  </wd:field>

  <wd:field id="area_name" required="true">
    <wd:label>Name</wd:label>
    <wd:datatype base="string">
      <wd:validation>
        <wd:length min="5" max="50"/>
      </wd:validation>
    </wd:datatype>
  </wd:field>

  <wd:booleanfield id="select">
    <wd:label>Select</wd:label>
  </wd:booleanfield>
</wd:repeater>

But however I try it never return to the flow and just send forever
continuations if I clic on the "submit" buton.

Please help.

Best Regards,

Antonio Gallardo



Mime
View raw message