Class JQueryRenderCachedPatch

  • All Implemented Interfaces:
    PageRenderPatch

    public class JQueryRenderCachedPatch
    extends JQueryRenderPatch
    Used to patch the rendering result of a ZK portlet for Liferay. When using ZK portlets with Liferay under Internet Explorer, we have to delay the processing at the client a bit. This patch assume "/zkau/web/js/zk.wpd" has loaded by Liferay, please refer to www.liferay.com document for configuration

    To use it, you have to specify a library property called ""org.zkoss.zk.portlet.PageRenderPatch.class" with this class's name ("org.zkoss.zkplus.liferay.JQueryRenderCachedPatch").

    Since:
    5.0.1
    Author:
    tomyeh, sam
    • Constructor Detail

      • JQueryRenderCachedPatch

        public JQueryRenderCachedPatch()
    • Method Detail

      • processHtml

        protected java.lang.String[] processHtml​(java.lang.String html)
        Append CSS link to head, and remove zk.wpd script
        Overrides:
        processHtml in class JQueryRenderPatch