You should use
<stripes:text
name="harmonizationLogicListofMaps[${mapIndex.index}][${hlMap.key}].friendlyCode"/>
Note that you should replace '.friendlyCode' by the property you want to set.
Christian
-----Original Message-----
From: Tiffany [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 30, 2008 7:42 AM
To: [email protected]
Subject: [Stripes-users] I need help with a complex form element
My object is a list of maps of objects
List<Map<String, HarmonizationLogic>> getHarmonizationLogicListofMaps()
<c:forEach var="hlMap" items="${harmonizationLogicListofMaps}"
varStatus="mapIndex">
<c:forEach var="entry" items="${hlMap}"> <c:set var="harmonizationlogic"
value="${entry.value}"/>
<c:out value="${harmonizationlogic.friendlyCode}"/>
<stripes:text name="harmonizationLogicListofMaps[${hlMap}]
[${harmonizationlogic}].value"/>
</c:forEach>
</c:forEach>
my object HarmonizationLogic has id, seq, code, friendlyCode, and value
properties
How do I reference the input box in the jsp? The friendlyCode is printing
correctly, but the input box has the following error
### 2008-09-25 17:17:48,682 [INFO ]
[net.sourceforge.stripes.tag.BeanFirstPopulationStrategy] - Could not locate
property of name [harmonizationLogicListofMaps[{STARTSWITH=seq 2 addressId 0
code STARTSWITH value s , CONTAINS=seq 2 addressId 0 code CONTAINS value c
}][seq 2 addressId 0 code CONTAINS value c ].value] on
ActionBean.net.sourceforge.stripes.util.bean.EvaluationException:
Attempting to index into a List using a non-integer index: {STARTSWITH=seq 2
addressId 0 code STARTSWITH value s , CONTAINS=seq 2 addressId 0 code CONTAINS
value c }
Any help you can give would be appreciated!
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users