- Timestamp:
- 2008-07-08 20:14:52 (6 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor.Java/trunk/src/site/apt/velocity_freemarker.apt
r2184 r2191 28 28 section. 29 29 30 [Hint:] This part of the documentation is just for people who are familiar31 with Velocity or FreeMarker. It's just a hint for an approach how to32 use the Java Integration Pack with these template engines!30 [Hint:] This part of the documentation is just for those who are familiar 31 with Velocity or FreeMarker. It's just a hint for an approach on how 32 to use the Java Integration Pack with these template engines! 33 33 34 34 The required jars are <<<velocity-1.x.x.jar>>> or <<<freemarker-2.x.jar>>> in 35 35 order to work with Velocity or FreeMarker respectively and <<<commons-collections.jar>>> 36 has alsoto be available for Velocity. Drop the required jar files in your classpath36 also has to be available for Velocity. Drop the required jar files in your classpath 37 37 (usually <<<WEB-INF/lib>>>). 38 38 39 39 The main class that builds the html for the editor is {{{java-core/apidocs/net/fckeditor/FCKeditor.html}<<<net.fckeditor.FCKeditor>>>}}. 40 40 We propose to write a wrapper object to initialize the FCKeditor object.\ 41 Have a look at this very simple example:41 Take a look at this very simple example: 42 42 43 43 +------------------------------------------------------------------------------+ … … 57 57 +------------------------------------------------------------------------------+ 58 58 59 Let's assume you add a <<<FCKeditorWrapper>>> instance named 'DefaultEditor'59 Let's assume you add a <<<FCKeditorWrapper>>> instance called <editor> 60 60 to your context objects, then you just need the following minimal template 61 61 example (Velocity):