The cancelProcessURL parameter specifies the name of
the JSP to call during cancel processing of the web form in edit mode.
Examples to invoke the emxForm.jsp with a cancelProcessURL:
- Set the href of any command object using macros where appropriate:
${COMMON_DIR}/emxForm.jsp?mode=Edit&form=<form_name>
&cancelProcessURL=${SUITE_DIR}/emxCustomCancelProcess.jsp
or
- Invoke emxForm.jsp with custom JSP pages using the relative path (macros
are not supported):
../common/emxForm.jsp?mode=Edit&form=<form_name>
&cancelProcessURL=../<Application Directory>/emxCustomCancelProcess.jsp
If you specify both a cancelProcessURL and
cancelProcessJPO, the cancelProcessURL executes first followed by the
cancelProcessJPO.
The cancel process JSP has these input parameters:
- The request parameters available for the emxForm.jsp, for example, objectId,
relId, timeStamp, form,
portalMode, suiteKey, etc.
- The request parameter timeStamp gets the form field
information stored in the form bean as a map.
- To update or interact with any objects, obtain the context from the
request using this code:
context = (matrix.db.Context)request.getAttribute("context");
See Pre-Process URL for an Editable Form Page for codes samples for retrieving request
parameters and field information.