cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [DAISY] Updated: Selection lists
Date Thu, 23 Mar 2006 18:06:28 GMT
A document has been updated:

Document ID: 753
Branch: main
Language: default
Name: Selection lists (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 3/23/06 6:06:19 PM
Updated by: Simone Gianni

A new version has been created, state: draft

This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 6301 bytes (previous version: 5673 bytes)
Content diff:
(139 equal lines skipped)
    <p>If you don't want an initial null value, add a
    <strong>nullable="false"</strong> attribute to the
--- <strong>fd:selection-list</strong> element. This applies only to
+++ <strong>fd:selection-list</strong> element. You can specify an i18n key to
+++ as a label for the null element using the
+++ <strong>null-text=""</strong> attribute. This applies only to
    <strong>enum</strong> type selection lists.</p>
+++ <p>Note : since the enum pattern is based on Class.getDeclaredFields() method,
+++ it's not always granted that the enum selection list items will be in the same
+++ order the fields are declared in the enumeration class. This is reported to
+++ happen expecially on IBM JRE. A good solution to this problem is to use the
+++ apache commons Enum as a super class of your enumeration classes. Due to the way
+++ this enumeration pattern is implemented, it's possible to grant the element
+++ orders in a portable way.</p>

no changes

no changes

Custom Fields
no changes

no changes

View raw message