JBoss.orgCommunity Documentation

Interceptors

To add an interceptor to a dialog, you can use this method uicomponent.addInterceptor(String scriptPath, String type)

Parameters Type Description
scriptPath string The relative path to the script file.
type string The type of interceptor: prev or post.


<%
  uicomponent.addInterceptor("ecm-explorer/interceptor/PreNodeSaveInterceptor.groovy", "prev");
%>