Manage the Get requests (GetFolders, GetFoldersAndFiles, CreateFolder).
The servlet accepts commands sent in the following format:
connector?Command=CommandName&Type=ResourceType&CurrentFolder=FolderPath
It execute the command and then return the results to the client in XML format.
Manage the Post requests (FileUpload).
The servlet accepts commands sent in the following format:
connector?Command=FileUpload&Type=ResourceType&CurrentFolder=FolderPath
It store the file (renaming it in case a file with the same name exists) and then return an HTML file
with a javascript command in it.
The main class of the class lib.
It's the container for all properties and the class that generate the output based on browser capabilities and configurations passed by the developer.
Contains the configuration settings for the FCKEditor.
Adding element to this collection you can override the settings specified in the config.js file.
Initialize the servlet.
Retrieve from the servlet configuration the "baseDir" which is the root of the file repository:
If not specified the value of "/UserFiles/" will be used.
Initialize the servlet.
Retrieve from the servlet configuration the "baseDir" which is the root of the file repository:
If not specified the value of "/UserFiles/" will be used.
Also it retrieve all allowed and denied extensions to be handled.
Tells the editor to automatically detect the user language preferences to adapt its interface language.
With Internet Explorer, the language configured in the Windows Control Panel is used.
With Firefox, the browser language is used.
Base URL used to resolve links (on images, links, styles, etc.).
For example, if BaseHref is set to 'http://www.fredck.com', an image that points to "/images/Logo.gif" will be interpreted by the editor as "http://www.fredck.com/images/Logo.gif", without touching the "src" attribute of the image.
Set the path of a custom file that can override some configurations.
It is recommended to use absolute paths (starting with /), like "/myfckconfig.js".
Sets the default language used for the editor's interface localization.
The default language is used when the AutoDetectLanguage options is disabled or when the user language is not available.
Block elements (like P, DIV, H1, PRE, etc...) are forced to have content (a ).
Empty blocks are "collapsed" by while browsing, so a empty <p></p> is not visible.
While editing, the editor "expand" empty blocks so you can insert content inside then.
Setting this option to "true" results useful to reflect the same output when browsing and editing.
Sets the URL of the page called when the user clicks the "Browse Server" button in the "Flash" dialog window.
In this way, you can create your custom Flash Browser that is well integrated with your system.
Sets the URL of the upload handler called when the user clicks the "Send it to server" button in the "Flash" dialog window.
In this way, you can create your custom Flash Uploader that is well integrated with your system.
Forces the ampersands (&) on tags attributes to not be converted to "&"
This conversion is a W3C requirement for XHTML, so it is recommended to leave this option to "false".
Sets the URL of the page called when the user clicks the "Browse Server" button in the "Image" dialog window.
In this way, you can create your custom Image Browser that is well integrated with your system.
Sets the URL of the upload handler called when the user clicks the "Send it to server" button in the "Image" dialog window.
In this way, you can create your custom Image Uploader that is well integrated with your system.
Sets the URL of the page called when the user clicks the "Browse Server" button in the "Link" dialog window.
In this way, you can create your custom File Browser that is well integrated with your system.
Sets the URL of the upload handler called when the user clicks the "Send it to server" button in the "Link" dialog window.
In this way, you can create your custom Link Uploader that is well integrated with your system.
Tells the editor that the toolbar can be Collapsed/Expanded by the user when clicking the vertical bar placed on the left of it (on the right for "rtl" languages).