cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Baptiste Quenot (JIRA)" <>
Subject [jira] Commented: (COCOON-1808) Allowing String labels in forms StaticSelectionList
Date Mon, 03 Apr 2006 08:15:43 GMT
    [ ] 

Jean-Baptiste Quenot commented on COCOON-1808:

Interesting, how do you use it?  Could you please copy/paste an example use case?

> Allowing String labels in forms StaticSelectionList
> ---------------------------------------------------
>          Key: COCOON-1808
>          URL:
>      Project: Cocoon
>         Type: Improvement

>   Components: Blocks: Forms
>     Versions: 2.2-dev (Current SVN), 2.1.9-dev (current SVN)
>     Reporter: Rob Berens
>     Priority: Minor
>  Attachments: StaticSelectionList.txt
> The StaticSelectionList in the forms block only allows for XMLizable labels to the added
items. In some cases it is handy to be able to supply String labels just like in e.g. AbstractJavaSelectionList.
I therefore added an addItem(Object, String) method. Note that this makes calls like addItem(someValue,
null) ambiguous. Therefore I also added an addItem(Object) method.

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