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: booleanfield widget
Date Sun, 23 Oct 2005 14:23:47 GMT
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>&lt;fd:booleanfield id="..." state="..."&gt;
      &lt;fd:true-param-value&gt;...&lt;/fd:true-param-value&gt;
(15 equal lines skipped)
      &lt;/fd:attributes&gt;
    &lt;/fd:booleanfield&gt;</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>&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
id="someId"/&gt;&lt;/label&gt;
+++ </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

Mime
View raw message