I'm having some difficulties to populate back my map (HashMap<String, ArrayList<CustomObject>>
) from my jsp.
I can access the map in my jsp and iterate on it to get the different values, but as soon as I submit this values I don't retrieve it as a HashMap<String, ArrayList<CustomObject>>
like it should be, but as a HashMap<String, string representation of the list object>
.
Here is a code sample of the jsp :
<s:iterator value="daysOfWeek" var="jour" status="stat">
<s:iterator value="%{plageRecords[#stat.index]}" var="plage" status="innerStat">
<s:select name="plageRecords[%{#stat.index+']['+#innerStat.index}].heureDebut"
list="startHourList"/>
</s:iterator>
</s:iterator>