Changeset 2213 for FCKeditor.Java/trunk/src/site/apt/properties.apt
- Timestamp:
- 2008-07-13 13:30:32 (6 months ago)
- Files:
-
- 1 modified
-
FCKeditor.Java/trunk/src/site/apt/properties.apt (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
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.