I have assigned Hahmap to the dropdowns.. each dropdown laues will be set into hashmap. when i try to get these values i am geeting values as string array instead of one object.so, i am not able to repopulate values if validation fails. below is the code i am using to populate the values.
<s:iterator value="#actComments.lstEntities">
<tr>
<td width="15%" align="left"><s:textfield name="propType"
readonly="true" value="%{#attr.propertyTypeName}"
cssStyle="width:80px;font-size:11px;" /></td>
<td width="85%" align="left"><s:select
name="hmMapComment[%{#attr.propertyTypeId}]"
cssStyle="font-size:11px;width:457px;margin-bottom:3px"
headerKey="0" headerValue="-- Select Comment --" list="comments"
listKey="commentId" listValue="commentText" /></td>
</tr>
</s:iterator>