| 17 | | Include in your custom properties file only the properties you need |
| 18 | | to change. If a property is not defined in the user file, the |
| 19 | | default from the <<<default.properties>>> included in the jar is used. |
| | 14 | [[1]] A common Java properties file, e.g.: |
| | 15 | |
| | 16 | Create a properties file named <<<fckeditor.properties>>> and place it in the |
| | 17 | root of the application classpath (typically into <<<WEB-INF/classes>>> folder). |
| | 18 | |
| | 19 | +-------------------------------------------------------+ |
| | 20 | fckeditor.toolbarSet = Silver |
| | 21 | connector.sessionDataImpl=net.fckeditor.impl.BasicSessionData |
| | 22 | ... |
| | 23 | +-------------------------------------------------------+ |
| | 24 | |
| | 25 | [[2]] In Java, calling the PropertiesHolder: |
| | 26 | |
| | 27 | +-------------------------------------------------------+ |
| | 28 | ... |
| | 29 | import net.fckeditor.handlers.PropertiesLoader; |
| | 30 | ... |
| | 31 | PropertiesLoader.setProperty("fckeditor.toolbarSet", "Silver"); |
| | 32 | PropertiesLoader.setProperty("connector.sessionDataImpl", "net.fckeditor.impl.BasicSessionData"); |
| | 33 | ... |
| | 34 | +-------------------------------------------------------+ |
| | 35 | |
| | 36 | [] |
| | 37 | |
| | 38 | As you see, in both ways the name of the properties are equal. |
| | 39 | The tables below lists all the configurable properties for the integration pack. |
| | 40 | |