org.zkoss.zk.ui.http
Class DHtmlLayoutPortlet
java.lang.Object
javax.portlet.GenericPortlet
org.zkoss.zk.ui.http.DHtmlLayoutPortlet
- All Implemented Interfaces:
- javax.portlet.Portlet, javax.portlet.PortletConfig
public class DHtmlLayoutPortlet
- extends javax.portlet.GenericPortlet
The portlet used to process the request for a ZUML page.
Notes:
- The portlet looks for the path of the ZUML page from the following locations:
- From the request parameter called zk_page.
- From the request attribute called zk_page.
- From the portlet preference called zk_page.
- If not found, it looks for the portlet from the following locations:
- From the request parameter called zk_richlet.
- From the request attribute called zk_richlet.
- From the portlet preference called zk_richlet.
- It is based
DHtmlLayoutServlet, so you have to declare
DHtmlLayoutServlet even if you want every ZUML pages being
processed by this portlet.
- Author:
- tomyeh
|
Method Summary |
protected void |
doView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
|
javax.portlet.PortletContext |
getPortletContext()
|
protected java.lang.String |
getTitle(javax.portlet.RenderRequest request)
|
void |
init(javax.portlet.PortletConfig conf)
|
protected boolean |
process(Session sess,
javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
java.lang.String path,
boolean bRichlet)
Process a portlet request. |
| Methods inherited from class javax.portlet.GenericPortlet |
destroy, doDispatch, doEdit, doHelp, getInitParameter, getInitParameterNames, getPortletConfig, getPortletName, getResourceBundle, init, processAction, render |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DHtmlLayoutPortlet
public DHtmlLayoutPortlet()
init
public void init(javax.portlet.PortletConfig conf)
throws javax.portlet.PortletException
- Specified by:
init in interface javax.portlet.Portlet- Overrides:
init in class javax.portlet.GenericPortlet
- Throws:
javax.portlet.PortletException
getPortletContext
public javax.portlet.PortletContext getPortletContext()
- Specified by:
getPortletContext in interface javax.portlet.PortletConfig- Overrides:
getPortletContext in class javax.portlet.GenericPortlet
getTitle
protected java.lang.String getTitle(javax.portlet.RenderRequest request)
- Overrides:
getTitle in class javax.portlet.GenericPortlet
doView
protected void doView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException,
java.io.IOException
- Overrides:
doView in class javax.portlet.GenericPortlet
- Throws:
javax.portlet.PortletException
java.io.IOException
process
protected boolean process(Session sess,
javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
java.lang.String path,
boolean bRichlet)
throws javax.portlet.PortletException,
java.io.IOException
- Process a portlet request.
- Returns:
- false if the page is not found.
- Throws:
javax.portlet.PortletException
java.io.IOException- Since:
- 3.0.0
Copyright © 2005-2009 Potix Corporation. All Rights Reserved.