You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by Apache Wiki <wi...@apache.org> on 2007/11/01 01:29:05 UTC

[Velocity Wiki] Update of "VelocityTools2/VelocityView" by NathanBubna

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/VelocityTools2/VelocityView

The comment on the change is:
rough draft of VelocityView overview page

New page:
== Overview ==
[wiki:VelocityTools2/VelocityView VelocityView] includes all of the [wiki:VelocityTools2/GenericTools GenericTools] and adds infrastructure and specialized tools for using Velocity in the view layer of web applications (Java EE projects). This includes the VelocityViewServlet or VelocityLayoutServlet for processing Velocity template requests and the VelocityViewTag for embedding Velocity in JSP.

== Default Configuration ==
The default configuration provided for [wiki:VelocityTools2/VelocityView VelocityView] is [http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/tools.xml?view=markup here].

== Dependencies ==
TODO: just link to an anchor in a comprehensive dependencies overview page?
 * Compile Time Requirements
  * commons-beanutils
  * commons-collections
  * commons-digester
  * commons-lang
  * commons-logging
  * velocity
  * servlet api
 * Runtime Requirements
  * commons-beanutils - core infrastructure, [http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/MathTool.java?view=markup MathTool], [http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/SortTool.java?view=markup SortTool]
  * commons-digester - xml configuration
  * commons-lang - [http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/EscapeTool.java?view=markup EscapeTool]
  * velocity - [http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/ClassTool.java?view=markup ClassTool], [http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/AbstractSearchTool.java?view=markup  AbstractSearchTool], [http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/ContextTool.java?view=markup  ContextTool], [http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/ImportTool.java?view=markup  ImportTool], [http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/IteratorTool.java?view=markup  IteratorTool], [http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/LinkTool.java?view=markup  LinkTool], [http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velo
 city/tools/view/MultiViewsTool.java?view=markup  MultiViewsTool], [http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/ViewRenderTool.java?view=markup  ViewRenderTool]
  * servlet - all [http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/ VelocityView] tools except [http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/ViewRenderTool.java?view=markup  ViewRenderTool]

== VelocityView Object ==
    TODO: a writeup and link for this

== VelocityViewTag ==
    TODO: a writeup and link for this

== VelocityViewServlet ==
    TODO: a writeup and link for this

== VelocityLayoutServlet ==
    TODO: a writeup and link for this

== Tools ==
 * [http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/AbstractSearchTool.java?view=markup  AbstractSearchTool] - For doing "searching" and robust pagination of search results. Requires you to create a subclass.
 * [http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/BrowserTool.java?view=markup  BrowserTool] - For identifying the browser and features thereof requesting the template.
 * [http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/ContextTool.java?view=markup  ContextTool] - For convenient access to ViewContext data and meta-data.
 * [http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/CookieTool.java?view=markup  CookieTool] - For convenient cookie access and creation.
 * [http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/ImportTool.java?view=markup  ImportTool] - For pulling down textual content from a URL.
 * [http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/LinkTool.java?view=markup  LinkTool] - For easy building of URLs (both relative or absolute).
 * [http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/PagerTool.java?view=markup  PagerTool] - For doing request-based pagination of items in an arbitrary list.
 * [http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/ParameterTool.java?view=markup  ParameterTool] - For easy retrieval and parsing of ServletRequest parameters.
 * [http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/ViewRenderTool.java?view=markup  ViewRenderTool] - To evaluate and render arbitrary strings of VTL, including recursive rendering.
 * [http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/ViewResourceTool.java?view=markup  ViewResourceTool] - For simplified access to ResourceBundles for internationalization or other dynamic content needs.

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