org.zkoss.zkplus.liferay
Class JQueryRenderCachedPatch

java.lang.Object
  extended by org.zkoss.zkplus.liferay.JQueryRenderPatch
      extended by 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 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

Field Summary
 
Fields inherited from class org.zkoss.zkplus.liferay.JQueryRenderPatch
JQUERY_PATCH
 
Constructor Summary
JQueryRenderCachedPatch()
           
 
Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JQueryRenderCachedPatch

public JQueryRenderCachedPatch()
Method Detail

getBrowserDelay

protected java.lang.String getBrowserDelay()
Overrides:
getBrowserDelay in class JQueryRenderPatch

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


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo