config.xml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?xml version="1.0" encoding="GB2312"?>
  2. <plugin name="WCM内容组件" version="1.0" id="components.common.publish.widget">
  3. <!--Config For ObjectLCMonitor BEGIN-->
  4. <!--
  5. Listener默认为监控对象的新增、修改、删除前
  6. EventType:
  7. -1:新增前
  8. 1:新增
  9. 2:修改后
  10. 3:删除前
  11. 4、删除后
  12. 5、修改前
  13. 多个以逗号隔开
  14. -->
  15. <extension
  16. element-class="com.trs.infra.persistent.listener.MonitorHostConfig"
  17. id="components.wcm.content.ObjectLCMonitor">
  18. <monitor-host name="可视化模板"
  19. class-name="com.trs.components.common.publish.persistent.template.Template">
  20. <listener bean-id="TemplateLCListenerVisualTemplate" event-type="-1,5,4"/>
  21. </monitor-host>
  22. <!-- 修改或删除资源块时,如果该资源块含有特殊处理的Js,同时调整JS命名 -->
  23. <monitor-host name="资源块"
  24. class-name="com.trs.components.common.publish.widget.Widget">
  25. <listener bean-id="AdjustJsLCListenerWidget" event-type="4,5"/>
  26. </monitor-host>
  27. <!-- 新建或修改资源块时,如果该资源块内容中没有包含固定的资源变量,则在指定位置添加资源变量 -->
  28. <monitor-host name="资源块"
  29. class-name="com.trs.components.common.publish.widget.Widget">
  30. <listener bean-id="WidgetLCListenerForWidgetFixedParam" event-type="-1,5"/>
  31. </monitor-host>
  32. </extension>
  33. </plugin>