Return-Path: Delivered-To: apmail-cocoon-docs-archive@www.apache.org Received: (qmail 76427 invoked from network); 5 Sep 2005 02:11:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Sep 2005 02:11:43 -0000 Received: (qmail 6754 invoked by uid 500); 5 Sep 2005 02:11:42 -0000 Delivered-To: apmail-cocoon-docs-archive@cocoon.apache.org Received: (qmail 6729 invoked by uid 500); 5 Sep 2005 02:11:42 -0000 Mailing-List: contact docs-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: docs@cocoon.apache.org List-Id: Delivered-To: mailing list docs@cocoon.apache.org Received: (qmail 6716 invoked by uid 99); 5 Sep 2005 02:11:42 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [207.7.158.203] (HELO cocoon.zones.apache.org) (207.7.158.203) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Sep 2005 19:11:40 -0700 Message-ID: <26195992.1125886131811.JavaMail.daisy@cocoon.zones.apache.org> Date: Mon, 5 Sep 2005 02:08:51 +0000 (GMT+00:00) From: daisy@cocoon.zones.apache.org To: docs@cocoon.apache.org Subject: [DAISY] Updated: Form Libraries Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N A document has been updated: http://cocoon.zones.apache.org/daisy/documentation/685.html Document ID: 685 Branch: main Language: default Name: Form Libraries (unchanged) Document Type: Document (unchanged) Updated on: 9/5/05 2:08:32 AM Updated by: Max Pfingsthorn A new version has been created, state: draft Parts =3D=3D=3D=3D=3D Content ------- This part has been updated. Mime type: text/xml (unchanged) File name: (unchanged) Size: 5652 bytes (previous version: 5249 bytes) Content diff: =20 ---

Form Libraries

---=20

This feature is only available from the repository fo= r the Google Summer of Code (GSoC) by Max Pfingsthorn as long as it is not integrated into the current Forms = block.

=20 ---

It is now possible to define libraries of form definitions and bindi= ngs. --- Specific support for templates was intentially left out because of the --- frequently changing and unstructured nature of it. Other tools, such as= the JX --- Template Generator's import feature or a combination of the Include Tra= nsformer --- and XSLT will do a better job dealing with any template formatting need= s.

+++

This feature was first described in the wiki +++ here and +++ here. +++ Max= 's +++ proposal for the Google +++ Summer of Code is still available on the wiki as well.

=20 +++

With this feature, it is now possible to define libraries of form de= finitions +++ and bindings. Specific support for templates was intentially left out b= ecause of +++ the frequently changing and unstructured nature of it. Other tools, suc= h as the +++ JX Template Generator's import feature or a combination of the Include +++ Transformer and XSLT will do a better job dealing with any template for= matting +++ needs.

+++=20

One important feature of the library subsystem is inheritance. Form = widgets and bindings can inherit their contents and parameters from others. All= such parent bindings/widgets will be referenced by IDs like so:

(50 equal lines skipped)
<fd:library>
      <fd:widgets>
   =20
---  =C2=A0  <fd:group id=3D"account">
+++     <fd:group id=3D"account">
          <fd:widgets>
            <fd:field id=3D"owner">
              <fd:label>Account Holder</fd:label>
(68 equal lines skipped)


Fields
=3D=3D=3D=3D=3D=3D
no changes

Links
=3D=3D=3D=3D=3D
no changes

Custom Fields
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
no changes

Collections
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
no changes