Index: /FCKeditor.Java/trunk/src/site/apt/velocity_freemarker.apt
===================================================================
--- /FCKeditor.Java/trunk/src/site/apt/velocity_freemarker.apt	(revision 2141)
+++ /FCKeditor.Java/trunk/src/site/apt/velocity_freemarker.apt	(revision 2141)
@@ -0,0 +1,65 @@
+~~ FCKeditor - The text editor for Internet - http://www.fckeditor.net
+~~ Copyright (C) 2003-2008 Frederico Caldeira Knabben
+~~
+~~ == BEGIN LICENSE ==
+~~
+~~ Licensed under the terms of any of the following licenses at your
+~~ choice:
+~~
+~~  - GNU General Public License Version 2 or later (the "GPL")
+~~    http://www.gnu.org/licenses/gpl.html
+~~
+~~  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+~~    http://www.gnu.org/licenses/lgpl.html
+~~
+~~  - Mozilla Public License Version 1.1 or later (the "MPL")
+~~    http://www.mozilla.org/MPL/MPL-1.1.html
+~~
+~~ == END LICENSE ==
+~~ @version $Id: connector.apt 2004 2008-05-16 14:48:17Z mosipov $
+                        ------------------------------
+                           Velocity / Freemarker
+                        ------------------------------
+                        
+Integration with Velocity or Freemarker
+
+  {{{http://velocity.apache.org}Velocity}} and {{{http://freemarker.org}Freemarker}} are quite similar and serve
+  similar needs and so are considered together in this section.
+
+	[Hint:] This part of the documentation is just for people who are familiar with Velocity or Freemarker. It's
+	        just a hint for the right approach, how to use the Java Integration Pack with these template engines!
+
+  The required jars are <<<<velocity-1.x.x.jar>>> or <<<freemarker-2.x.jar>>> in order to work with 
+  Velocity or FreeMarker respectively and <<<commons-collections.jar>>> needs also to be available for Velocity. 
+  Drop the required jar files in your classpath (usually <<<WEB-INF/lib>>>).
+  
+  The main class that builds the html for the editor is {{{java-core/apidocs/net/fckeditor/fckeditor.html}<<<net.fckeditor.FCKeditor>>>}}.
+  We propose to write a wrapper object to initialize the FCKeditor object.\
+  Very simple example:
+  
++----------------------------------------------------------------------------------+
+public class FCKeditorWrapper {
+	private HttpServletRequest httpServletRequest;
+
+	public FCKeditorWrapper(final HttpServletRequest httpServletRequest) {
+		this.httpServletRequest = httpServletRequest;
+	}
+
+	public String get(final String instanceName, final String value) {
+		FCKeditor editor = new FCKeditor(httpServletRequest, instanceName);
+		editor.setValue(value);
+		// HERE you could set other properties like 'fckconfig.js' 'fckstyles.xml' and so on.
+		return editor.create();
+	}
++----------------------------------------------------------------------------------+
+
+  Let's assume that you add <<<FCKeditorWrapper>>> with the name 'editor' to your context objects, then you just need the following minimal template
+  example (Velocity):
+  
++----------------------------------------------------------------------------------+		
+<script language="javascript" type="text/javascript" src="/fckeditor/fckeditor.js"></script>
+<form method="post" action="[servlet path]">
+   $editor.get("DefaultEditor", "Some text");
+   <input type="submit" value="OK" />
+</form>
++----------------------------------------------------------------------------------+
Index: /FCKeditor.Java/trunk/src/site/site.xml
===================================================================
--- /FCKeditor.Java/trunk/src/site/site.xml	(revision 2140)
+++ /FCKeditor.Java/trunk/src/site/site.xml	(revision 2141)
@@ -29,4 +29,5 @@
 			/>
 			<item name="Connector" href="/connector.html" />
+			<item name="Velocity / Freemarker" href="/velocity_freemarker.html"/>
 		</menu>
 		<menu name="Reference">
