Details
-
Bug
-
Status: Reopened
-
Minor
-
Resolution: Unresolved
-
1.1.0
-
None
-
Operating System: Windows XP
Platform: PC
-
17977
Description
POTENTIAL BUG:
When using nested:interate and placing a jsp:include in the iteration, the
included jsp cannot retrieve the proper nesting level. Thus any form related
nested tags are possibly named with duplicate names. ie:
<input hidden="name[0]" value="name1"/>
<input hidden="name[0]" value="name2"/>
COMMENT OF NOTE:
It appears that tag does NOT lose the actual underlying beans,
it just loses the proper naming of the index.
SIMPLE EXAMPLE:
-
-
- testNestedIterate.jsp =
<nested:root name="narray">
<nested:iterate property="names">
BEFORE: <nested:writeNesting /><br />
<jsp:include page="testNestedIterateInclude.jsp" />
</nested:iterate>
</nested:root>
- testNestedIterate.jsp =
-
-
-
- testNestedIterateInclude.jsp =
<nested:root>
AFTER: <nested:writeNesting />
Name in bytes: <nested:write property="bytes"/><p />
</nested:root>
- testNestedIterateInclude.jsp =
-
I will attach the test class throwaway.test.Names
in a subsequent comment to help document this problem better.
I've tried to seriously test this before submitting this as
bug so if any further information is needed please reach me
at cbutler@mateso.com.
Attachments
Attachments
Issue Links
- is depended upon by
-
STR-1530 Error with nesting tags in separate pages
- Reopened