History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: STS-632
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Ben Gunter
Reporter: Ben Gunter
Votes: 3
Watchers: 5
Operations

If you were logged in you would be able to see more operations.
Stripes

Hidden _sourcePage value incorrect for included pages

Created: 05/Jan/09 10:40 PM   Updated: 26/May/09 10:23 AM
Component/s: Tag Library
Affects Version/s: Release 1.5, Release 1.5.1
Fix Version/s: Release 1.5.1, Release 1.5.2


 Description  « Hide
When a page is included via <jsp:include> or some other means, the _sourcePage input points to the page from which it was included instead of to the included resource itself.

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Ben Gunter - 03/Apr/09 11:04 AM
This has been troublesome for a few people. It appears that the problem that this fixed can be worked around by using <c:import> instead of <jsp:include>. If that is the case, then this change needs to be reverted for 1.5.2.

Ben Gunter - 26/May/09 10:23 AM
Based on my testing, <c:import> behaves no differently from <jsp:include>, but I have discovered other, more serious issues with the behavior introduced with this change. The <s:layout-render> tag can sometimes throw a NPE when there are validation errors; reverting this change fixed the NPE. I see plenty of reason to revert to the former behavior so I've done that for 1.5.2.