You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Rice Yeh <ri...@gmail.com> on 2007/03/20 08:07:32 UTC

[cforms' Is it possible to extends another form definition?

Hi,
  In http://cocoon.zones.apache.org/daisy/cocoon3/g3/forms/g2/685.html, I
see a lot of uses for a field to extend another field. Is it possible to
directly extends another form definition like the following:

<?xml version="1.0"?>
<fd:import prefix="person" uri="Person.fd.xml"/>
<fd:form  xmlns:fd="http://apache.org/cocoon/forms/1.0#definition"
                    xmlns:i18n="http://apache.org/cocoon/i18n/2.1"
                    extends="person">
    <fd:widgets>
    ....
    </fd:widgets>
</fd:form>

Rice