Changeset 2213 for FCKeditor.Java/trunk
- Timestamp:
- 2008-07-13 13:30:32 (5 months ago)
- Location:
- FCKeditor.Java/trunk/src/site/apt
- Files:
-
- 10 modified
-
connector.apt (modified) (1 diff)
-
demo.apt.vm (modified) (2 diffs)
-
download.apt.vm (modified) (2 diffs)
-
index.apt (modified) (2 diffs)
-
installation.apt (modified) (2 diffs)
-
overview.apt (modified) (2 diffs)
-
properties.apt (modified) (6 diffs)
-
taglibrary.apt (modified) (1 diff)
-
velocity_freemarker.apt (modified) (3 diffs)
-
whatsnew.apt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor.Java/trunk/src/site/apt/connector.apt
r2191 r2213 99 99 * <<<boolean isEnabledForFileBrowsing(final HttpServletRequest)>>> denoting 100 100 the user's ability to browse files on the server. 101 101 102 102 * <<<boolean isEnabledForFileUpload(final HttpServletRequest)>>> denoting 103 103 the user's ability to upload files to the server. -
FCKeditor.Java/trunk/src/site/apt/demo.apt.vm
r2178 r2213 1 1 ~~ FCKeditor - The text editor for Internet - http://www.fckeditor.net 2 2 ~~ Copyright (C) 2003-2008 Frederico Caldeira Knabben 3 ~~ 3 ~~ 4 4 ~~ == BEGIN LICENSE == 5 ~~ 5 ~~ 6 6 ~~ Licensed under the terms of any of the following licenses at your 7 7 ~~ choice: 8 ~~ 8 ~~ 9 9 ~~ - GNU General Public License Version 2 or later (the "GPL") 10 10 ~~ http://www.gnu.org/licenses/gpl.html 11 ~~ 11 ~~ 12 12 ~~ - GNU Lesser General Public License Version 2.1 or later (the "LGPL") 13 13 ~~ http://www.gnu.org/licenses/lgpl.html 14 ~~ 14 ~~ 15 15 ~~ - Mozilla Public License Version 1.1 or later (the "MPL") 16 16 ~~ http://www.mozilla.org/MPL/MPL-1.1.html 17 ~~ 17 ~~ 18 18 ~~ == END LICENSE == 19 19 ~~ @version $Id$ … … 38 38 [[2]] Deploy the <<<fckeditor-java-demo-${currentVersion}.war>>> in your servlet container 39 39 or application server and make sure that the context is enabled. 40 40 41 41 [[3]] Open up your browser and point to <<<http://localhost:8080/fckeditor-java-demo-${currentVersion}>>>. 42 42 (assuming your server is running local at port 8080 for testing purposes) -
FCKeditor.Java/trunk/src/site/apt/download.apt.vm
r2178 r2213 1 1 ~~ FCKeditor - The text editor for Internet - http://www.fckeditor.net 2 2 ~~ Copyright (C) 2003-2008 Frederico Caldeira Knabben 3 ~~ 3 ~~ 4 4 ~~ == BEGIN LICENSE == 5 ~~ 5 ~~ 6 6 ~~ Licensed under the terms of any of the following licenses at your 7 7 ~~ choice: 8 ~~ 8 ~~ 9 9 ~~ - GNU General Public License Version 2 or later (the "GPL") 10 10 ~~ http://www.gnu.org/licenses/gpl.html 11 ~~ 11 ~~ 12 12 ~~ - GNU Lesser General Public License Version 2.1 or later (the "LGPL") 13 13 ~~ http://www.gnu.org/licenses/lgpl.html 14 ~~ 14 ~~ 15 15 ~~ - Mozilla Public License Version 1.1 or later (the "MPL") 16 16 ~~ http://www.mozilla.org/MPL/MPL-1.1.html 17 ~~ 17 ~~ 18 18 ~~ == END LICENSE == 19 19 ~~ @version $Id: installation.apt.vm 2162 2008-07-03 18:11:08Z mosipov $ … … 30 30 * Binary distribution 31 31 32 [Requirements:] You need at least JRE 1.4 and a Servlet 2.4/JSP 2.0 compliant 32 [Requirements:] You need at least JRE 1.4 and a Servlet 2.4/JSP 2.0 compliant 33 33 server implementation to run the integration pack. 34 34 35 35 ** Using Maven 2 36 36 37 Declare a dependency reference to the library in the dependencies section of 37 Declare a dependency reference to the library in the dependencies section of 38 38 your POM and Maven 2 will do the rest for you: 39 39 -
FCKeditor.Java/trunk/src/site/apt/index.apt
r2191 r2213 27 27 Java environment a piece of cake. 28 28 29 A rich documentation, a well-designed Java library, and an out of the box demo 29 A rich documentation, a well-designed Java library, and an out of the box demo 30 30 webapp will show you how to get started quickly and deploy the FCKeditor within 31 31 minutes without juggling with cryptic JSP scriptlets or any JavaScript API. … … 37 37 38 38 This documentation is straight forward to use!\ 39 Start with {{{whatsnew.html}What's new}} to see what has changed since 2.3 and 40 there is a lot! Go over and checkout the {{{demo.html}Demo}} and if you are 41 ready to deploy the FCKeditor in your webapp, {{{download.html}download}} it, 42 follow the {{{installation.html}Installation Guide}} and the {{{overview.html}Integration Overview}}. 43 39 Read the {{{changes-report.html}changes}} compared to the last release. Go over 40 and checkout the {{{demo.html}Demo}} and if you are ready to deploy the FCKeditor 41 in your webapp, {{{download.html}download}} it, follow the {{{installation.html}Installation Guide}} 42 and the {{{overview.html}Integration Overview}}. 44 43 45 44 Call To Action -
FCKeditor.Java/trunk/src/site/apt/installation.apt
r2190 r2213 1 1 ~~ FCKeditor - The text editor for Internet - http://www.fckeditor.net 2 2 ~~ Copyright (C) 2003-2008 Frederico Caldeira Knabben 3 ~~ 3 ~~ 4 4 ~~ == BEGIN LICENSE == 5 ~~ 5 ~~ 6 6 ~~ Licensed under the terms of any of the following licenses at your 7 7 ~~ choice: 8 ~~ 8 ~~ 9 9 ~~ - GNU General Public License Version 2 or later (the "GPL") 10 10 ~~ http://www.gnu.org/licenses/gpl.html 11 ~~ 11 ~~ 12 12 ~~ - GNU Lesser General Public License Version 2.1 or later (the "LGPL") 13 13 ~~ http://www.gnu.org/licenses/lgpl.html 14 ~~ 14 ~~ 15 15 ~~ - Mozilla Public License Version 1.1 or later (the "MPL") 16 16 ~~ http://www.mozilla.org/MPL/MPL-1.1.html 17 ~~ 17 ~~ 18 18 ~~ == END LICENSE == 19 19 ~~ @version $Id$ … … 41 41 42 42 Simply put the downloaded core jar, it's dependencies and your favorite SFL4J 43 binding together with the corresponding backend (may be optional) in to your 43 binding together with the corresponding backend (may be optional) in to your 44 44 classpath (usually <<<WEB-INF/lib>>>) and you are ready to go. 45 45 -
FCKeditor.Java/trunk/src/site/apt/overview.apt
r2151 r2213 1 1 ~~ FCKeditor - The text editor for Internet - http://www.fckeditor.net 2 2 ~~ Copyright (C) 2003-2008 Frederico Caldeira Knabben 3 ~~ 3 ~~ 4 4 ~~ == BEGIN LICENSE == 5 ~~ 5 ~~ 6 6 ~~ Licensed under the terms of any of the following licenses at your 7 7 ~~ choice: 8 ~~ 8 ~~ 9 9 ~~ - GNU General Public License Version 2 or later (the "GPL") 10 10 ~~ http://www.gnu.org/licenses/gpl.html 11 ~~ 11 ~~ 12 12 ~~ - GNU Lesser General Public License Version 2.1 or later (the "LGPL") 13 13 ~~ http://www.gnu.org/licenses/lgpl.html 14 ~~ 14 ~~ 15 15 ~~ - Mozilla Public License Version 1.1 or later (the "MPL") 16 16 ~~ http://www.mozilla.org/MPL/MPL-1.1.html 17 ~~ 17 ~~ 18 18 ~~ == END LICENSE == 19 19 ~~ @version $Id$ … … 25 25 26 26 The Java integration pack consists of two main components: 27 27 28 28 * <<JSP tag library>>: Easy integration of the FCKeditor in your JSPs. 29 29 30 30 * <<Connector>>: A servlet to manage resources like images, documents, and other 31 31 files. 32 32 33 33 [] 34 34 35 35 Please read the integration parts carefully! Both the tag library and the connector 36 36 have been completely restructured. 37 -
FCKeditor.Java/trunk/src/site/apt/properties.apt
r2191 r2213 1 1 ~~ FCKeditor - The text editor for Internet - http://www.fckeditor.net 2 2 ~~ Copyright (C) 2003-2008 Frederico Caldeira Knabben 3 ~~ 3 ~~ 4 4 ~~ == BEGIN LICENSE == 5 ~~ 5 ~~ 6 6 ~~ Licensed under the terms of any of the following licenses at your 7 7 ~~ choice: 8 ~~ 8 ~~ 9 9 ~~ - GNU General Public License Version 2 or later (the "GPL") 10 10 ~~ http://www.gnu.org/licenses/gpl.html 11 ~~ 11 ~~ 12 12 ~~ - GNU Lesser General Public License Version 2.1 or later (the "LGPL") 13 13 ~~ http://www.gnu.org/licenses/lgpl.html 14 ~~ 14 ~~ 15 15 ~~ - Mozilla Public License Version 1.1 or later (the "MPL") 16 16 ~~ http://www.mozilla.org/MPL/MPL-1.1.html 17 ~~ 17 ~~ 18 18 ~~ == END LICENSE == 19 19 ~~ @version $Id$ … … 27 27 Define only those you intend to override for the <entire> web application. 28 28 29 There are two ways to override the default properties: 29 There are two ways to override the default properties: 30 30 31 * By creating a <<<fckeditor.properties>>> file in the classpath (usually 31 * By creating a <<<fckeditor.properties>>> file in the classpath (usually 32 32 <<<WEB-INF/classes>>>): 33 33 … … 46 46 ... 47 47 PropertiesLoader.setProperty("fckeditor.toolbarSet", "Basic"); 48 PropertiesLoader.setProperty("connector.userActionImpl", 48 PropertiesLoader.setProperty("connector.userActionImpl", 49 49 "net.fckeditor.requestcycle.impl.UserActionImpl"); 50 50 ... … … 53 53 [Attention:] It is essential to know how to use the <<<PropertiesHolder>>>. 54 54 Like the common properties usage, you should use it only at the 55 start of your web application. If you don't have a kind of 56 an 'initialization' servlet, where you could place the 57 <<<PropertiesLoader>>> calls, we suggest for you to write your own 58 <<<ServletContextListener>>>. So you guarantee, you call the 55 start of your web application. If you don't have a kind of 56 an 'initialization' servlet, where you could place the 57 <<<PropertiesLoader>>> calls, we suggest for you to write your own 58 <<<ServletContextListener>>>. So you guarantee, you call the 59 59 <<<PropertiesLoader>>> <before> the <<<ConnectorServlet>>> is 60 60 initialized. … … 62 62 [] 63 63 64 As you can see, setting a property is equal in both ways. The tables below 64 As you can see, setting a property is equal in both ways. The tables below 65 65 list all configurable properties for the integration pack. 66 66 … … 86 86 87 87 The integration library supports file, flash, image, and media resource types. 88 Replace <type name> in the property name with "file", "flash", "image", or 88 Replace <type name> in the property name with "file", "flash", "image", or 89 89 "media". 90 90 91 Define <<either>> an allowed <<or>> denied list. If an allowed list is 91 Define <<either>> an allowed <<or>> denied list. If an allowed list is 92 92 pre-defined overwrite it with an empty list and define your denied list as you 93 93 wish. -
FCKeditor.Java/trunk/src/site/apt/taglibrary.apt
r2151 r2213 1 1 ~~ FCKeditor - The text editor for Internet - http://www.fckeditor.net 2 2 ~~ Copyright (C) 2003-2008 Frederico Caldeira Knabben 3 ~~ 3 ~~ 4 4 ~~ == BEGIN LICENSE == 5 ~~ 5 ~~ 6 6 ~~ Licensed under the terms of any of the following licenses at your 7 7 ~~ choice: 8 ~~ 8 ~~ 9 9 ~~ - GNU General Public License Version 2 or later (the "GPL") 10 10 ~~ http://www.gnu.org/licenses/gpl.html 11 ~~ 11 ~~ 12 12 ~~ - GNU Lesser General Public License Version 2.1 or later (the "LGPL") 13 13 ~~ http://www.gnu.org/licenses/lgpl.html 14 ~~ 14 ~~ 15 15 ~~ - Mozilla Public License Version 1.1 or later (the "MPL") 16 16 ~~ http://www.mozilla.org/MPL/MPL-1.1.html 17 ~~ 17 ~~ 18 18 ~~ == END LICENSE == 19 19 ~~ @version $Id$ -
FCKeditor.Java/trunk/src/site/apt/velocity_freemarker.apt
r2191 r2213 21 21 Velocity/FreeMarker Integration 22 22 ------------------------------ 23 23 24 24 Integration with Velocity or FreeMarker 25 25 … … 32 32 to use the Java Integration Pack with these template engines! 33 33 34 The required jars are <<<velocity-1.x.x.jar>>> or <<<freemarker-2.x.jar>>> in 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 36 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 41 Take a look at this very simple example: 42 42 43 43 +------------------------------------------------------------------------------+ 44 44 public class FCKeditorWrapper { … … 57 57 +------------------------------------------------------------------------------+ 58 58 59 Let's assume you add a <<<FCKeditorWrapper>>> instance called <editor> 60 to your context objects, then you just need the following minimal template 59 Let's assume you add a <<<FCKeditorWrapper>>> instance called <editor> 60 to your context objects, then you just need the following minimal template 61 61 example (Velocity): 62 62 -
FCKeditor.Java/trunk/src/site/apt/whatsnew.apt
r2190 r2213 18 18 ~~ == END LICENSE == 19 19 ~~ @version $Id$ 20 ------------------------------ 21 What's New 22 ------------------------------ 23 20 ------------------------------ 21 What's New 22 ------------------------------ 24 23 25 24 What's New … … 31 30 * The integration pack is now managed by {{{http://maven.apache.org}Maven 2}} 32 31 with complete documentation and reports. 33 32 34 33 * Automatic creation of release distribution files (assemblies). 35 34 … … 52 51 * No configuration settings in the <<<web.xml>>> anymore. 53 52 54 * The configuration properties can be set in a common properties file or 53 * The configuration properties can be set in a common properties file or 55 54 programmatically. 56 55