You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Mark Lundquist (JIRA)" <ji...@apache.org> on 2006/11/22 10:46:06 UTC
[jira] Commented: (COCOON-1915) Nullable value with additional
String or XMLizable in JavaSelectionList
[ http://issues.apache.org/jira/browse/COCOON-1915?page=comments#action_12451882 ]
Mark Lundquist commented on COCOON-1915:
----------------------------------------
With regard to
<fd:null-text>
<i18n:text>please-select</i18n:text>
</fd:null-text>
Does that do anything different than what you can already do using this?:
<fd:item value="">
<fd:label>
<i18n:text>please-select</i18n:text>
</fd:label>
</fd:item>
— Mark
> Nullable value with additional String or XMLizable in JavaSelectionList
> -----------------------------------------------------------------------
>
> Key: COCOON-1915
> URL: http://issues.apache.org/jira/browse/COCOON-1915
> Project: Cocoon
> Issue Type: Improvement
> Components: Blocks: Forms
> Affects Versions: 2.2-dev (Current SVN), 2.1.9, 2.1.10-dev (current SVN)
> Reporter: Rolf Metternich
> Priority: Minor
> Attachments: JavaSelectionList.txt, JavaSelectionList.txt
>
>
> Setting a text for the nullable-Value as String or XMLizable programmaticly by using setNullText(String nullText);
> Also you can set the nullText in the definition of the selectionlist.
> Example:
> <fd:datatype base="long"/>
> <fd:selection-list>
> <fd:null-text>
> <i18n:text>please-select</i18n:text>
> </fd:null-text>
> <fd:item value="1"/>
> <fd:item value="2"/>
> <fd:item value="3">
> <fd:label>three</fd:label>
> </fd:item>
> <fd:item value="4"/>
> <fd:item value="5"/>
> </fd:selection-list>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira