public abstract class A_CmsJSPAction extends A_CmsWorkplaceAction
How to pass resources to and from JSP: -GET request parameter "resource" returns an array of UUIDs as String.
-JavaScript function "window.parent.changedResources(resources);" closes the window and returns the String array "resources" to the server
| Constructor and Description |
|---|
A_CmsJSPAction() |
| Modifier and Type | Method and Description |
|---|---|
void |
executeAction(I_CmsDialogContext context)
Executes the action.
|
abstract java.lang.String |
getJSPPath()
Sets the absolute path (in the vfs) to a jsp file used for the action.
|
protected java.lang.String |
getRequestString(java.util.List<CmsResource> resources)
Creates string for get—request with given list of resources.
|
getDialogTitle, getDialogTitleKey, getTitle, getTitleKey, getVisibility, hasBlockingLocks, isActive, openDialogclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIdgetVisibilitypublic A_CmsJSPAction()
public void executeAction(I_CmsDialogContext context)
I_CmsWorkplaceActioncontext - the current dialog context.I_CmsWorkplaceAction.executeAction(org.opencms.ui.I_CmsDialogContext)public abstract java.lang.String getJSPPath()
protected java.lang.String getRequestString(java.util.List<CmsResource> resources)
resources - to be transmitted