henning     2004/07/10 15:09:30

  Modified:    xdocs/howto Tag: TURBINE_2_3_BRANCH context-howto.xml
                        velocity-site-howto.xml
  Log:
  Just stumbled over these...
  
  Can someone rework the context-howto.xml? Else we should drop it completely
  from the distribution.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.1.1.4.3 +4 -12     jakarta-turbine-2/xdocs/howto/context-howto.xml
  
  Index: context-howto.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-2/xdocs/howto/context-howto.xml,v
  retrieving revision 1.1.1.1.4.2
  retrieving revision 1.1.1.1.4.3
  diff -u -r1.1.1.1.4.2 -r1.1.1.1.4.3
  --- context-howto.xml 20 May 2004 03:34:27 -0000      1.1.1.1.4.2
  +++ context-howto.xml 10 Jul 2004 22:09:30 -0000      1.1.1.1.4.3
  @@ -96,7 +96,7 @@
   </p>
   
   <source test=""><![CDATA[
  -    $data.setLayoutTemplate("/PrintableLayout.vm")
  +    $data.setLayoutTemplate("PrintableLayout.vm")
   ]]></source>
   
   <p>
  @@ -116,17 +116,17 @@
   </p>
   
   <source test=""><![CDATA[
  -    $data.getTemplateInfo().setLayoutTemplate("/PrintableLayout.vm")
  +    $data.getTemplateInfo().setLayoutTemplate("PrintableLayout.vm")
   
       or
   
       #set $template = $data.getTemplateInfo()<br />
  -    $template.setLayoutTemplate("/PrintableLayout.vm")
  +    $template.setLayoutTemplate("PrintableLayout.vm")
   
       or
   
       #set $template = $data.getTemplateInfo()<br />
  -    $!template.setLayoutTemplate("/PrintableLayout.vm")
  +    $!template.setLayoutTemplate("PrintableLayout.vm")
   
   ]]></source>
   
  @@ -163,14 +163,6 @@
   <p>
   where "newapp" is the chosen webapp deployment name.
   </p>
  -
  -<p>
  -This same mechanism can also be used to link to static html;
  -</p>
  -
  -<source>
  -    $link.setPage("/path/to/static.html")
  -</source>
   
   <p>
   However the HTML page will load itself into a screen and not be embedded withint 
the Layouts and Navigations. If you still wish static content to be embedded within 
the specified layouts and navigations it is easier to add the static content as a 
velocity template and not take advantage of any of the dynamic content addition the 
Velocity Context allows.
  
  
  
  1.2.2.3   +2 -2      jakarta-turbine-2/xdocs/howto/velocity-site-howto.xml
  
  Index: velocity-site-howto.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-2/xdocs/howto/velocity-site-howto.xml,v
  retrieving revision 1.2.2.2
  retrieving revision 1.2.2.3
  diff -u -r1.2.2.2 -r1.2.2.3
  --- velocity-site-howto.xml   20 May 2004 03:34:27 -0000      1.2.2.2
  +++ velocity-site-howto.xml   10 Jul 2004 22:09:30 -0000      1.2.2.3
  @@ -310,13 +310,13 @@
   <table width="100%">
   
   <tr>
  -    <td>$navigation.setTemplate("/default_top.vm")</td>
  +    <td>$navigation.setTemplate("default_top.vm")</td>
   </tr>
   <tr>
       <td>$screen_placeholder</td>
   </tr>
   <tr>
  -    <td>$navigation.setTemplate("/default_bottom.vm")</td>
  +    <td>$navigation.setTemplate("default_bottom.vm")</td>
   </tr>
   
   </table>
  
  
  

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

Reply via email to