4.1.1.1.13. 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");
%>
Copyright ©2012. All rights reserved. eXo Platform SAS