java - Get values of HashMap in ComboItem -


i trying build combobox taken values hashmap. problem combo empty. why?

here code, dateoptions hashmap<string,string>

<template name="model" var="dettproduct">                         <row>                             <detail >                                 <div                                     children="@load(dettproduct.dateprod)">                                     <template name="children"                                         var="date">                                         <combobox                                             model="@load(date.dateoptions.entryset())" >                                             <template name="model"                                                 var="datevalue">                                                 <comboitem                                                     label="@load(datevalue.value)"                                                     value="@load(datevalue.key)" />                                             </template>                                         </combobox>                                     </template>                                 </div>                             </detail>                         </row>                     </template> 

if @ particulare code, looks correct.
thing what's strange, not impossible date take viewmodel or reference.

i created fiddle, works, please check version in fiddle.


Comments