Hi all.

While we're using resource bundles to convert the number to a string, something goes wrong with the second fieldinfo.

CODE:
<mm:node element="inventory">
       <mm:fieldlist fields="type,state">
           <td><mm:fieldinfo type="guivalue"/></td>
       </mm:fieldlist>
</mm:node>

RESOURCE BUNDLES:
type:
1=Netwerk
2=Audio
3=Video
4=Foto
etc....

state:
1=Beschikbaar
2=Uitgeleend
3=Reparatie
etc.

The things is that while the 'type' conversion works fine, the 'state' conversion returns the values of 'type'.
When using
<mm:fieldlist nodetype="inventory" type="edit">
<mm:fieldinfo type="input" options="date"/>
</mm:fieldlist>
this doesn't occur.


Seems like a bug to me, because I can't figure a way out to do it differently?


With regards,

Chris Herrebrugh
VPRO Digitaal.




Reply via email to