Pre/Post/Cancel Processing of an Editable Table

The system invokes pre processing before loading the editable table page. The system invokes cancel processing whenever a user clicks a Cancel button or closes the editable table component. The system invokes post processing after completion of the edit process. The edit process, post process JSP, and post process JPO are performed in a single transaction. If an exception occurs during the edit process or post process, the system rolls back the entire transaction.

You can specify a pre/post/cancel processing JSP or JPO by passing the parameters listed in the table below to the appropriate JSP files:


  • emxTable.jsp
  • emxTableEdit.jsp (for direct edit modes)

These parameters are applicable only for edit mode.

URL Parameter Possible/Default Values Description
preProcessJPO <JPOName>:<MethodName> The JPO to use when a user clicks Edit on a table component.
preProcessURL ${SUITE_DIR}/emxCustomPreProcess.jsp

or

../<ApplicationDirectory>/emxCustomPreProcess.jsp

Example:../engineeringcentral/emxCustomPrePreocess.jsp

The JSP called before displaying an editable table. Specify the JSP name using the macro for the page location, or use the relative path as listed in the examples.
postProcessJPO <JPOName>:<MethodName> The JPO to execute when a user clicks the Done button on a table component.
postProcessURL

${SUITE_DIR}/emxCustomPostProcess.jsp

or

../<ApplicationDirectory>/emxCustomPostProcess.jsp

Example: ../engineeringcentral/emxCustomPostProcess.jsp

The JSP called when a user clicks the Done button on a table page. The system calls the configured JSP after edit processing and database update. Specify the JSP name using the macro for the page location, or use the relative path shown in the examples.
cancelProcessJPO <JPOName>:<MethodName> The JPO to execute when a user clicks the Cancel or close window button on a table component.
cancelProcessURL

${SUITE_DIR}/emxCustomCancelProcess.jsp

or

..<ApplicationDirectory>/emxCustomCancelProcess.jsp

Example: ../engineeringcentral/emxCustomCancelProcess.jsp

The JSP called when a user clicks the Cancel button or closes the table page. Specify the JSP name using the macro for the page location, or use the relative path shown in the examples.