portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r377036 - /portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/decoration/DecorationFactoryImpl.java
Date Sat, 11 Feb 2006 20:01:42 GMT
Author: ate
Date: Sat Feb 11 12:01:41 2006
New Revision: 377036

URL: http://svn.apache.org/viewcvs?rev=377036&view=rev
Log:
Fixing support for nested LayoutDecorations.
See http://issues.apache.org/jira/browse/JS2-468.

Modified:
    portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/decoration/DecorationFactoryImpl.java

Modified: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/decoration/DecorationFactoryImpl.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/decoration/DecorationFactoryImpl.java?rev=377036&r1=377035&r2=377036&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/decoration/DecorationFactoryImpl.java
(original)
+++ portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/decoration/DecorationFactoryImpl.java
Sat Feb 11 12:01:41 2006
@@ -98,7 +98,7 @@
 
         // use layout decoration for top level layout root
         // fragments; portlet layouts for all others
-        if (fragment.getType().equals(Fragment.LAYOUT) && fragment.equals(page.getRootFragment()))
+        if (fragment.getType().equals(Fragment.LAYOUT))
         {
             decoration = getLayoutDecoration(decorationName, requestContext);
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message