com.opensymphony.webwork.views.jsp.ui
Class RichtexteditorGetFoldersResult
java.lang.Object
com.opensymphony.webwork.views.jsp.ui.AbstractRichtexteditorResult
com.opensymphony.webwork.views.jsp.ui.RichtexteditorGetFoldersResult
- All Implemented Interfaces:
- Result, Serializable
public class RichtexteditorGetFoldersResult
- extends AbstractRichtexteditorResult
WebWork's result, creating the appropriate result (in xml form) and write to the
response stream corresponding the the Rich Text Editor's 'GetFolders' command.
An example of the response would be as follows:
<?xml version="1.0" encoding="utf-8" ?>
<Connector command="GetFolders" 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>
</Connector>
- Version:
- $Date: 2006-02-20 23:30:28 +0800 (Mon, 20 Feb 2006) $ $Id: RichtexteditorGetFoldersResult.java 2246 2006-02-20 15:30:28Z tmjee $
- Author:
- tm_jee
- See Also:
- Serialized Form
Method Summary |
void |
execute(ActionInvocation invocation)
Write the response (in xml form) to the response stream corresponding to
the Rich Text Editor's 'GetFolders' 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 |
RichtexteditorGetFoldersResult
public RichtexteditorGetFoldersResult()
execute
public void execute(ActionInvocation invocation)
throws Exception
-
Write the response (in xml form) to the response stream corresponding to
the Rich Text Editor's 'GetFolders' command.
- Throws:
Exception