roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r432712 - /incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/velocity/deprecated/ContextLoader.java
Date Fri, 18 Aug 2006 20:18:07 GMT
Author: agilliland
Date: Fri Aug 18 13:18:07 2006
New Revision: 432712

URL: http://svn.apache.org/viewvc?rev=432712&view=rev
Log:
somehow we lost the old "pages" variable from the context, so i'm adding it back.


Modified:
    incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/velocity/deprecated/ContextLoader.java

Modified: incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/velocity/deprecated/ContextLoader.java
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/velocity/deprecated/ContextLoader.java?rev=432712&r1=432711&r2=432712&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/velocity/deprecated/ContextLoader.java
(original)
+++ incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/velocity/deprecated/ContextLoader.java
Fri Aug 18 13:18:07 2006
@@ -176,6 +176,9 @@
                     locale);
             ctx.put("pageModel", pageModel);
             
+            // along with old pages list :/
+            ctx.put("pages", pageModel.getPages());
+            
         } catch (Exception e) {
             throw new RollerException("ERROR creating Page Model",e);
         }



Mime
View raw message