DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17733>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17733

Map based forms and indexed fields do not work correctly





------- Additional Comments From [EMAIL PROTECTED]  2003-03-07 15:30 -------
Actually, having read the faq, I submit that this issue is still an issue.  Its 
not using indexed properties by themselves or using map properties by 
themselves, its using the two together that is an issue.  Please re-read my 
description to further understand.  If you deem it an enhancement, and 
prioritize it accordingly, thats fine.  But its important to comprehend the 
problem.

Note the "get" and "set" methods to represent the mapped property. 

from the faq:

<jsp:useBean id="bean" class="org.apache.struts.webapp.exercise.StringBean"/>
<bean:write name="bean" property="stringMapped(two)"/>
Note the property value of "stringMapped(two)". This will reference the mapped 
property "stringMapped", using the key value of "two". 

When this page is executed, it will print just the string "String 2", which is 
the string stored in the HashMap with the key "two". 


Note that in my submission, i describe the problem when you want to have 
multiple values for the map key "two" as shown above, as in multiple forms 
within a single html:form context.

This does look like an enhancement to me as well, so I leave it to you guys to 
do what you wish with it.

Regards,
Mark

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

Reply via email to