|
WebWork's result, creating the appropriate result (in xml form) and write to
the response stream corresponding to the Rich Text Editor's 'GetFoldersAndFiles'
command
An example of the response would be as follows:
<?xml version="1.0" encoding="utf-8" ?>
<Connector command="GetFoldersAndFiles" resourceType="File">
<CurrentFolder path="/Samples/Docs/" url="/UserFiles/File/Samples/Docs/" />
<Folders>
<Folder name="Documents" />
<Folder name="Files" />
<Folder name="Other Files" />
<Folder name="Related" />
</Folders>
<Files>
<File name="XML Definition.doc" size="14" />
<File name="Samples.txt" size="5" />
<File name="Definition.txt" size="125" />
<File name="External Resources.drw" size="840" />
<File name="Todo.txt" size="2" />
</Files>
</Connector>
author: tm_jee version: $Date: 2006-02-20 16:24:38 +0100 (Mon, 20 Feb 2006) $ $Id: RichtexteditorGetFoldersAndFilesResult.java 2245 2006-02-20 15:24:38Z tmjee $ |