Given this xml snippet from struts-config:


<form-bean name="myForm" type="org.apache.struts.action.DynaActionForm"> <form-property name="myMap" type="java.util.HashMap"/> </form-bean>



and this JSTL snippet: (it prints out the "firstName" of a user bean stored in the HashMap under the key "mapEntry1")


<c:out value="${myForm.map.myMap.mapEntry1.firstName}"/>




What do I put under the "property" attribute below to cause the framework to update the "firstName" attribute of the bean stored under "mapEntry1" with the contents of the textbox when the page gets submitted?


<html-el:form action="/map"> <html-el:text property="<what goes here??>"/> </html-el:form>






--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to