cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@cocoon.zones.apache.org
Subject [DAISY] Updated: Form
Date Sun, 23 Oct 2005 15:52:40 GMT
A document has been updated:

http://cocoon.zones.apache.org/daisy/documentation/754.html

Document ID: 754
Branch: main
Language: default
Name: Form (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 10/23/05 3:52:24 PM
Updated by: Bruno Dumon

A new version has been created, state: publish

Parts
=====
Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 1060 bytes (previous version: 52 bytes)
Content diff:
    <html>
    <body>
    
--- <p>(coming soon)</p>
+++ <h1>Concept</h1>
    
+++ <p>The form itself is not really a widget, but we include its reference
+++ documentation here nonetheless.</p>
+++ 
+++ <h1>Definition</h1>
+++ 
+++ <pre>&lt;fd:form id="..." state="..."&gt;
+++   &lt;fd:widgets&gt;
+++     [...]
+++   &lt;/fd:widgets&gt;
+++   &lt;fd:validation&gt;
+++      [...]
+++   &lt;/fd:validation&gt;
+++   &lt;fd:on-create&gt;
+++      [...]
+++   &lt;/fd:on-create&gt;
+++   &lt;fd:attributes&gt;
+++     &lt;fd:attribute name="..." value="..."/&gt;    
+++   &lt;/fd:attributes&gt;
+++ &lt;/fd:form&gt;
+++ </pre>
+++ 
+++ <p>The widgets contained by the form are defined inside the fd:widgets element.
+++ For an explanation of the other elements and attributes, see the
+++ <a href="daisy:481">field widget</a>. Specifying an id for the form is optional.
+++ </p>
+++ 
+++ <h1>Template</h1>
+++ 
+++ <p>A form is inserted into a template by use of the ft:form-template tag:</p>
+++ 
+++ <pre>&lt;ft:form-template&gt;
+++   [...]
+++ &lt;/ft:form-template&gt;
+++ </pre>
+++ 
+++ <p>You can add the usual HTML form attributes such as action and method on the
+++ ft:form-tempate, they will be replicated in the output.</p>
+++ 
    </body>
    </html>


Fields
======
no changes

Links
=====
no changes

Custom Fields
=============
no changes

Collections
===========
no changes

Mime
View raw message