A document has been updated:
http://cocoon.zones.apache.org/daisy/documentation/482.html
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
Parts
=====
Content
-------
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><fd:booleanfield id="..." state="...">
<fd:true-param-value>...</fd:true-param-value>
(15 equal lines skipped)
</fd:attributes>
</fd:booleanfield></pre>
--- <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 the
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><ft:widget id="..."/>
+++ </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><ft:widget id="someId"/> <label
for="someId-input"><ft:widget-label id="someId"/></label>
+++ </pre>
+++
+++ <p>This is automatically taken care of when using the columns group layout
as
+++ explained <a href="daisy:752">here</a>.</p>
+++
</body>
</html>
Fields
======
no changes
Links
=====
no changes
Custom Fields
=============
no changes
Collections
===========
no changes