com.opensymphony.webwork.views.jsp.ui
Class RichtexteditorFileUploadResult
java.lang.Object
com.opensymphony.webwork.views.jsp.ui.AbstractRichtexteditorResult
com.opensymphony.webwork.views.jsp.ui.RichtexteditorFileUploadResult
- All Implemented Interfaces:
- Result, Serializable
public class RichtexteditorFileUploadResult
- extends AbstractRichtexteditorResult
WebWork's result, creating the appropriate result (in javascript form) and write to
the response stream corresponding to a 'FileUpload' command from the
Rich Text Editor.
An example of the response would be as follows:
<script type="text/javascript">
window.parent.frames['frmUpload'].OnUploadCompleted(0) ;
</script>
- Version:
- $Date: 2006-02-20 23:24:38 +0800 (Mon, 20 Feb 2006) $ $Id: RichtexteditorFileUploadResult.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 javascript form) to the response stream corresponding to
the Rich Text Editor's 'FileUpload' 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 |
RichtexteditorFileUploadResult
public RichtexteditorFileUploadResult()
execute
public void execute(ActionInvocation invocation)
throws Exception
-
Write the result (in javascript form) to the response stream corresponding to
the Rich Text Editor's 'FileUpload' command.
- Throws:
Exception