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: Selection lists
Date Thu, 23 Mar 2006 18:06:28 GMT
A document has been updated:

http://cocoon.zones.apache.org/daisy/documentation/753.html

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

Parts
=====
Content
-------
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
use
+++ as a label for the null element using the
+++ <strong>null-text="i18.key.here"</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>
+++ 
    </body>
    </html>


Fields
======
no changes

Links
=====
no changes

Custom Fields
=============
no changes

Collections
===========
no changes

Mime
View raw message