pcourcoux    2005/01/20 12:41:38

  Modified:    src/java/org/apache/turbine/modules/layouts
                        VelocityOnlyLayout.java
  Log:
  PipelineData version of doBuildTemplate() was never called by screen classes. 
Thanks to Ben Gidley for pointing this out.
  
  Revision  Changes    Path
  1.15      +2 -2      
jakarta-turbine-2/src/java/org/apache/turbine/modules/layouts/VelocityOnlyLayout.java
  
  Index: VelocityOnlyLayout.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/modules/layouts/VelocityOnlyLayout.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- VelocityOnlyLayout.java   6 Dec 2004 17:47:09 -0000       1.14
  +++ VelocityOnlyLayout.java   20 Jan 2005 20:41:38 -0000      1.15
  @@ -143,7 +143,7 @@
           // First, generate the screen and put it in the context so
           // we can grab it the layout template.
           ConcreteElement results =
  -            ScreenLoader.getInstance().eval(data, screenName);
  +            ScreenLoader.getInstance().eval(pipelineData, screenName);
   
           String returnValue = (results == null) ? "" : results.toString();
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to