A document has been updated:
http://cocoon.zones.apache.org/daisy/documentation/741.html
Document ID: 741
Branch: main
Language: default
Name: Union widget (unchanged)
Document Type: Document (unchanged)
Updated on: 10/12/05 1:50:22 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: 979 bytes (previous version: 703 bytes)
Content diff:
(5 equal lines skipped)
<p>Uses one out of a set of widgets based on the value of a certain other
widget.</p>
--- <h1>Configuration</h1>
+++ <h1>Definition</h1>
<pre><fd:union id="..." case="..." state="...">
<fd:widgets>
(14 equal lines skipped)
<p>If you want to switch between sets of widgets, you can group them into
<a href="daisy:740">group widgets</a>.</p>
+++ <h1>Template</h1>
+++
+++ <p>Insertion of a union widget in a template is done using <tt>ft:union</tt>
+++ and <tt>ft:case</tt> elements:</p>
+++
+++ <pre><ft:union id="...">
+++ <ft:case id="...">
+++ [...]
+++ </ft:case>
+++ [... more ft:case elements ...]
+++ </ft:union>
+++ </pre>
+++
</body>
</html>
Fields
======
no changes
Links
=====
no changes
Custom Fields
=============
no changes
Collections
===========
no changes