Revision: 1125
http://stripes.svn.sourceforge.net/stripes/?rev=1125&view=rev
Author: bengunter
Date: 2009-03-26 16:00:40 +0000 (Thu, 26 Mar 2009)
Log Message:
-----------
The fix for STS-671 caused severe problems when combining layouts and
<jsp:include>. The problem apparently was caused by ExecutionContext not using
the same request/response objects as <jsp:include>. Setting the request and
response from the new context on the reused context fixes the problem.
Modified Paths:
--------------
trunk/stripes/src/net/sourceforge/stripes/controller/DispatcherHelper.java
Modified:
trunk/stripes/src/net/sourceforge/stripes/controller/DispatcherHelper.java
===================================================================
--- trunk/stripes/src/net/sourceforge/stripes/controller/DispatcherHelper.java
2009-03-26 04:25:25 UTC (rev 1124)
+++ trunk/stripes/src/net/sourceforge/stripes/controller/DispatcherHelper.java
2009-03-26 16:00:40 UTC (rev 1125)
@@ -112,6 +112,8 @@
if (context != bean.getContext()) {
ActionBeanContext other = bean.getContext();
other.setEventName(context.getEventName());
+ other.setRequest(context.getRequest());
+ other.setResponse(context.getResponse());
context = other;
ctx.setActionBeanContext(context);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development