cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [DAISY] Updated: Union widget
Date Wed, 12 Oct 2005 14:04:34 GMT
A document has been updated:

Document ID: 741
Branch: main
Language: default
Name: Union widget (unchanged)
Document Type: Document (unchanged)
Updated on: 10/12/05 2:04:25 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: 1469 bytes (previous version: 979 bytes)
Content diff:
(21 equal lines skipped)
    <p>The <tt>case</tt> attribute specifies the ID of a widget that will
be used to
--- select which one of the widgets will be active.</p>
+++ select which one of the widgets will be active (the value of the case widget
+++ should correspond to the ID of one of those widgets). This case widget will most
+++ often be a field with a selection list.</p>
    <p>If you want to switch between sets of widgets, you can group them into
    <a href="daisy:740">group widgets</a>.</p>
(11 equal lines skipped)
+++ <p>Of course, you also need to insert the case widget in the template. Use the
+++ <tt>submit-on-change</tt> option to let the union widget automatically switch
+++ the case selected in the case widget:</p>
+++ <pre>&lt;ft:widget id="my-case-widget"&gt;
+++   &lt;fi:styling list-type="dropdown" submit-on-change="true"/&gt;
+++ &lt;/ft:widget&gt;
+++ </pre>

no changes

no changes

Custom Fields
no changes

no changes

View raw message