I've committed the previously discussed change of embedding child
widgets inside a wd:widgets element in the form definition. This is a
small change, but will require updating all existing form definitions.

So next time you update CVS, or update to the next release of Cocoon,
you'll need to update your form definitions.

Here's what practically needs to be done:

A form definition that previously looked like this:

<wd:form>
  <wd:field .../>
  <wd:field .../>
  <wd:repeater .../>
</wd:form>

should now become:

<wd:form>
  <wd:widgets>
    <wd:field .../>
    <wd:field .../>
    <wd:repeater .../>
  </wd:widgets>
</wd:form>

The same is true for the repeater widget:

<wd:repeater>
  <wd:field .../>
  <wd:field .../>
</wd:repeater>

becomes

<wd:repeater>
  <wd:widgets>
    <wd:field .../>
    <wd:field .../>
  <wd:widgets>
</wd:repeater>

The aggregatefield widget had already a container tag, but it was called
wd:children. It should now be renamed to wd:widgets.

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED]                          [EMAIL PROTECTED]

Reply via email to