org.zkoss.zkplus.liferay
Class NonRootContextJQueryRenderPatch
java.lang.Object
org.zkoss.zkplus.liferay.JQueryRenderPatch
org.zkoss.zkplus.liferay.NonRootContextJQueryRenderPatch
- All Implemented Interfaces:
- org.zkoss.zk.ui.sys.PageRenderPatch
public class NonRootContextJQueryRenderPatch
- extends JQueryRenderPatch
Used to patch the rendering result of a ZK portlet for Liferay.
When using ZK portlets with Liferay under non root context, we have
to add a JSESSIONID under root(/) path.
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.NonRootContextJQueryRenderPatch").
- Since:
- 5.0.11
- Author:
- jimmy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NonRootContextJQueryRenderPatch
public NonRootContextJQueryRenderPatch()
beforeRender
public Writer beforeRender(org.zkoss.zk.ui.sys.RequestInfo reqInfo)
- Description copied from class:
JQueryRenderPatch
- It returns an instance of StringWriter if
JQueryRenderPatch.getDelay() is non-negative,
or null if negative (means no patch).
- Specified by:
beforeRender in interface org.zkoss.zk.ui.sys.PageRenderPatch- Overrides:
beforeRender in class JQueryRenderPatch
patchRender
public void patchRender(org.zkoss.zk.ui.sys.RequestInfo reqInfo,
org.zkoss.zk.ui.Page page,
Writer result,
Writer out)
throws IOException
- Specified by:
patchRender in interface org.zkoss.zk.ui.sys.PageRenderPatch- Overrides:
patchRender in class JQueryRenderPatch
- Throws:
IOException
Copyright © 2014. All rights reserved.