Revision: 1380
          http://stripes.svn.sourceforge.net/stripes/?rev=1380&view=rev
Author:   bengunter
Date:     2011-01-02 22:43:23 +0000 (Sun, 02 Jan 2011)

Log Message:
-----------
STS-788: Fix for the third test case submitted by David Dundua. When executing 
a component's default content, the context component must be set to the current 
component so that nested layout tags know they are executing in the current 
component.

Modified Paths:
--------------
    
branches/1.5.x/stripes/src/net/sourceforge/stripes/tag/layout/LayoutComponentTag.java

Modified: 
branches/1.5.x/stripes/src/net/sourceforge/stripes/tag/layout/LayoutComponentTag.java
===================================================================
--- 
branches/1.5.x/stripes/src/net/sourceforge/stripes/tag/layout/LayoutComponentTag.java
       2010-12-29 21:19:20 UTC (rev 1379)
+++ 
branches/1.5.x/stripes/src/net/sourceforge/stripes/tag/layout/LayoutComponentTag.java
       2011-01-02 22:43:23 UTC (rev 1380)
@@ -209,6 +209,7 @@
 
                         componentRenderPhase = 
context.isComponentRenderPhase();
                         context.setComponentRenderPhase(true);
+                        context.setComponent(getName());
                         context.getOut().setSilent(false, pageContext);
                         return EVAL_BODY_INCLUDE;
                     }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to