You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2004/09/23 04:20:11 UTC

DO NOT REPLY [Bug 31377] - logic:iterate tag id can destroy attributes of same name

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=31377

logic:iterate tag id can destroy attributes of same name





------- Additional Comments From rmsnz@xtra.co.nz  2004-09-23 02:20 -------
I think the problem you are having is because you now have two different "item"s
sitting in two scope levels (the original one that is sitting in the request
scope and the one created in the iterate tag which is in the page scope).

Because you haven't specified a scope in the bean:write, it works its way up the
chain starting at the page scope which, therefore, picks up the iterate version
of the item.

I believe specifying the request scope in your bean:write call should fix this up.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org