Class MCRCancelTarget
java.lang.Object
org.mycore.frontend.xeditor.target.MCRCancelTarget
- All Implemented Interfaces:
MCREditorTarget
- Author:
- Frank Lützenkirchen
Implements the "cancel" target to redirect when cancel button is clicked.
The target URL is set by
<xed:cancel url="..." />
When no URL is set, the web application base URL is used. When a complete URL is given, it is used as is. When a relative path is given, the URL is calculated relative to the page containing the editor form. When an absolute path is given, the web application base URL is prepended.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleSubmission
(jakarta.servlet.ServletContext context, MCRServletJob job, MCREditorSession session, String parameter)
-
Constructor Details
-
MCRCancelTarget
public MCRCancelTarget()
-
-
Method Details
-
handleSubmission
public void handleSubmission(jakarta.servlet.ServletContext context, MCRServletJob job, MCREditorSession session, String parameter) throws IOException, jakarta.servlet.ServletException - Specified by:
handleSubmission
in interfaceMCREditorTarget
- Throws:
IOException
jakarta.servlet.ServletException
-