A document has been updated: http://cocoon.zones.apache.org/daisy/documentation/481.html
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 Parts ===== Content ------- 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><fd:field id="..." required="true|false" state="..."> +++ <pre><fd:field id="..." required="true|false" state="..." +++ whitespace="trim|trim-start|trim-end|preserve"> <fd:label>...</fd:label> <fd:hint>...</fd:hint> <fd:help>...</fd:help> (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 how +++ 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 widget. 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)