com.opensymphony.webwork.views.jsp.ui
Class RichtexteditorGetFoldersAndFilesResult
java.lang.Object
com.opensymphony.webwork.views.jsp.ui.AbstractRichtexteditorResult
com.opensymphony.webwork.views.jsp.ui.RichtexteditorGetFoldersAndFilesResult
- All Implemented Interfaces:
- Result, Serializable
public class RichtexteditorGetFoldersAndFilesResult
- extends AbstractRichtexteditorResult
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>
- Version:
- $Date: 2006-02-20 23:24:38 +0800 (Mon, 20 Feb 2006) $ $Id: RichtexteditorGetFoldersAndFilesResult.java 2245 2006-02-20 15:24:38Z tmjee $
- Author:
- tm_jee
- See Also:
- Serialized Form
Method Summary |
void |
execute(ActionInvocation invocation)
Write the result (in xml form) to the response stream corresponding to
the Rich Text Editor's 'GetFoldersAndFiles' command. |
Methods inherited from class com.opensymphony.webwork.views.jsp.ui.AbstractRichtexteditorResult |
buildCommonResponseXml, buildDocument, getCommand, getFolderPath, getServerPath, getType, richtexteditorCreateFolderResult, richtexteditorFileUploadResult, richtexteditorFolders, richtexteditorFoldersAndFiles, stringFromDocument, writeDocumentToStream |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RichtexteditorGetFoldersAndFilesResult
public RichtexteditorGetFoldersAndFilesResult()
execute
public void execute(ActionInvocation invocation)
throws Exception
-
Write the result (in xml form) to the response stream corresponding to
the Rich Text Editor's 'GetFoldersAndFiles' command.
- Parameters:
invocation
-
- Throws:
Exception