I have a hashMap<string,Set<postcode>>codeMap in action to receive a group of
textfields values. Each map's value mapping with a struts textfield. 

my convertFromString fuction work well, all textfield could be converted to
a Set<postcode>. 

but when i want to convert the map back to textfield in result.jsp 

<s:iterator value="codeMap"> 
<s:textfield value="%{value}><s:textfield> 
</s:iterator> 

the convertToString work but the parameter object is NULL!!!!!!!!! 

if I change the struts tag to: 

<s:iterator value="codeMap"> 
<s:property/> 
</s:iterator> 

the convertToString function work well and the result page could display
what I inputed in textfields 

any know why struts can not forward map's value to convertToString? many
thanks 

-- 
View this message in context: 
http://old.nabble.com/strange-type-converter-problem-tp28539920p28539920.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to