cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ugo Cei (JIRA)" <>
Subject [jira] Commented: (COCOON-1793) [PATCH] Enum selection list with apache enum support and null-text
Date Tue, 07 Mar 2006 09:29:39 GMT
    [ ] 

Ugo Cei commented on COCOON-1793:

Looks like you forgot to add the PreferredContact class to your patch (forgot to svn add,

> [PATCH] Enum selection list with apache enum support and null-text
> ------------------------------------------------------------------
>          Key: COCOON-1793
>          URL:
>      Project: Cocoon
>         Type: Improvement
>   Components: Blocks: Forms
>     Versions: 2.1.9-dev (current SVN)
>     Reporter: Simone Gianni
>  Attachments: enumselectionlist-samples.diff, enumselectionlist.diff
> Added support for apache enum in the EnumSelectionList. This will grant selection list
items order on those JREs (expecially IBM, used by WebSphere) that will honor litteraly the
Class.getDeclaredFields() javadocs and return elements in random order. This also adds the
ability to implement the getEnumList method in the enum classes and implement a custom order.
In case it isn't possible to retrieve a valid iterator for the apache enum, then the common
way will be used.
> Since i felt the lack of it, i also added a null-text="i18nkey" so that it's now possible
to specify a label for the null element when the selection list is nullable="true". 
> The second patch updates the samples adding a PreferredContact apache enum to the Contact
bean, the form2 files (both for bean and xml binding) and messages, to demostrate the usage
of both apache enum and the new null-text.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message