Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
2804 | minor | always | 07-24-08 10:39 | 08-21-08 09:22 | |
|
|||||
Reporter: | bregnvig | Platform: | |||
Assigned To: | OS: | ||||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.1.6 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.7 | ||
|
|||||
Summary: | 0002804: c:forEach deletes the request scoped variable | ||||
Description: |
In a struts action I set the following: request.setAttribute("child", child); In my JSP I can now use my child object using ${child.firstName}. But after I've executed a forEach with the following statement: <c:forEach var="child" items="${pageScope.children}"> .... </c:forEach> I can no longer use ${child.firstName} as the attribute has been removed. The JSTL spec says: Name of the exported scoped variable for the current item of the iteration. This scoped variable has nested visibility. Its type depends on the object of the underlying collection. So I assume the forEach should not have removed the request scoped attribute only the page scope attribute from the forEach loop. |
||||
Steps To Reproduce: | |||||
Additional Information: | It works as expected on 3.0.x | ||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|