cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <br...@outerthought.org>
Subject [WOODY] Form definition syntax change that affects all users
Date Sat, 01 Nov 2003 20:14:31 GMT
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
bruno@outerthought.org                          bruno@apache.org


Mime
View raw message