struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yunaki <>
Subject strange type converter problem
Date Wed, 12 May 2010 19:07:00 GMT

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> 

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

if I change the struts tag to: 

<s:iterator value="codeMap"> 

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

View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message