cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [DAISY] Updated: booleanfield widget
Date Sun, 23 Oct 2005 14:23:47 GMT
A document has been updated:

Document ID: 482
Branch: main
Language: default
Name: booleanfield widget (previously Cocoon Forms: booleanfield widget)
Document Type: Cocoon Document (unchanged)
Updated on: 10/23/05 2:23:37 PM
Updated by: Bruno Dumon

A new version has been created, state: publish

This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 2294 bytes (previous version: 1643 bytes)
Content diff:
(16 equal lines skipped)
    It is either true or false. If you want tripples (true/false/none), use a normal
    field widget with a selection list.</p>
--- <h1>Configuration</h1>
+++ <h1>Definition</h1>
    <pre>&lt;fd:booleanfield id="..." state="..."&gt;
(15 equal lines skipped)
--- <p>See <a href="daisy:481">field wiget</a> for a description of the
+++ <p>See <a href="daisy:481">field widget</a> for a description of the
    configuration options.</p>
    <p>The optional element <strong>fd:true-param-value</strong> specifies
    parameter value that indicates true. By default this is "true".</p>
+++ <h1>Template</h1>
+++ <p>A booleanfield widget is inserted in a template using the ft:widget tag:</p>
+++ <pre>&lt;ft:widget id="..."/&gt;
+++ </pre>
+++ <h1>Styling (default HTML XSL)</h1>
+++ <p>A booleanfield is rendered as a checkbox. To make the checkbox user-friendly,
+++ make sure the label of the checkbox is associated with the checkbox, so that the
+++ user can also click the label to (de)select the checkbox:</p>
+++ <pre>&lt;ft:widget id="someId"/&gt; &lt;label for="someId-input"&gt;&lt;ft:widget-label
+++ </pre>
+++ <p>This is automatically taken care of when using the columns group layout as
+++ explained <a href="daisy:752">here</a>.</p>

no changes

no changes

Custom Fields
no changes

no changes

View raw message