Package org.zkoss.zkplus.liferay
Class JQueryRenderCachedPatch
- java.lang.Object
-
- org.zkoss.zkplus.liferay.JQueryRenderPatch
-
- org.zkoss.zkplus.liferay.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 configurationTo 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
-
-
Field Summary
-
Fields inherited from class org.zkoss.zkplus.liferay.JQueryRenderPatch
JQUERY_PATCH
-
-
Constructor Summary
Constructors Constructor Description JQueryRenderCachedPatch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getBrowserDelay()
protected java.lang.String[]
processHtml(java.lang.String html)
Append CSS link to head, and remove zk.wpd script-
Methods inherited from class org.zkoss.zkplus.liferay.JQueryRenderPatch
beforeRender, getDelay, patchRender, setDelay
-
-
-
-
Method Detail
-
getBrowserDelay
protected java.lang.String getBrowserDelay()
- Overrides:
getBrowserDelay
in classJQueryRenderPatch
-
processHtml
protected java.lang.String[] processHtml(java.lang.String html)
Append CSS link to head, and remove zk.wpd script- Overrides:
processHtml
in classJQueryRenderPatch
-
-