cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [DAISY] Updated: Field widget
Date Mon, 13 Nov 2006 04:23:01 GMT
A document has been updated:

Document ID: 481
Branch: main
Language: default
Name: Field widget (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 11/13/06 4:22:54 AM
Updated by: Jason Johnston

A new version has been created, state: draft


This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 9035 bytes (previous version: 8481 bytes)
Content diff:
(62 equal lines skipped)
    <p>Configuration example:</p>
--- <pre>&lt;fd:field id="..." required="true|false" state="..."&gt;
+++ <pre>&lt;fd:field id="..." required="true|false" state="..."
+++           whitespace="trim|trim-start|trim-end|preserve"&gt;
(30 equal lines skipped)
    <p>The <strong>state</strong> attribute is optional. See
    <a href="daisy:733">Widget States</a> for its purpose.</p>
+++ <p>The <strong>whitespace</strong> attribute is optional. It controls
+++ leading and trailing whitespace characters are handled when the widget parses
+++ the value submitted by the user. Accepted values are: "trim" (removes both
+++ leading and trailing whitespace), "trim-start" (removes leading whitespace
+++ only), "trim-end" (removes trailing whitespace only), and "preserve" (leaves
+++ both leading and trailing whitespace intact). If the whitespace attribute is not
+++ present, it defaults to "trim".</p>
    <p>The <strong>fd:label</strong> element contains the label for this
    This element is optional. It can contain mixed content. For internationalised
    labels, use i18n-tags in combination with Cocoon's I18nTransformer.</p>
(104 equal lines skipped)

View raw message