Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Velocity Wiki" for 
change notification.

The following page has been changed by NathanBubna:
http://wiki.apache.org/velocity/VelocityTools2Planning

The comment on the change is:
put example toolbox in code box

------------------------------------------------------------------------------
  
  3. SimplifiedToolboxXML: In line with the ideas above, we could cut out some 
repetition in toolbox.xml by better organizing it and using XML more 
appropriately.  For instance, the 
[http://svn.apache.org/viewvc/velocity/tools/trunk/examples/simple/WEB-INF/toolbox.xml?revision=487337&view=markup
 toolbox.xml for the "simple" example] could be simplified further to something 
like:
  
- <tools>
+ {{{<tools>
      <toolbox scope="request" xhtml="true">
          <tool key="toytool" class="ToyTool" valid-path="index.vm"/>
      </toolbox>
- 
      <toolbox scope="session" create-session="true">
          <tool key="map" class="java.util.HashMap"/>
      </toolbox>
- 
      <toolbox scope="application">
          <tool key="date" class="org.apache.velocity.tools.generic.DateTool"/>
          <data type="number" key="version" value="1.1"/>
@@ -28, +26 @@

          <data key="bar">this is bar.</data>
      </toolbox>
  </tools>
+ }}}
  
  4. FactorOutBasicVelocityViewStuff:  This would create a better basis for 
bring the [http://velocity.apache.org/engine/devel/veltag.html Veltag] into the 
project as a sibling of the VelocityViewServlet.
  

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

Reply via email to