cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Johnston <>
Subject Re: CForm field selection-list: "displayed" vs. "selected" values
Date Mon, 05 Sep 2005 14:12:29 GMT wrote:
> Hi,
> what's the best way to map the values selectable by a user in a 
> selection-list to other values (e.g. in selection-list we have 
> "human-readable" values, we want to map them to "internal" values)?

See my reply to your previous thread; you use the "internal" value as 
the @value of fd:item, and the "human-readable" value as an fd:label.

   <fd:item value="MT935">
     <fd:label>Monthly Interest Sales</fd:label>
   <fd:item value="MT950MS">
     <fd:label>Money Statement</fd:label>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message