当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
WsrpSelectorTestPortlet - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.core.portlet.theme
Class WsrpSelectorTestPortlet
java.lang.Object
javax.portlet.GenericPortlet
org.jboss.portal.core.portlet.theme.WsrpSelectorTestPortlet
- All Implemented Interfaces:
- Portlet
- public class WsrpSelectorTestPortlet
- extends GenericPortlet
Portlet to generate markup with the defined WSRP css selectors for theme test purposes.
- Version:
- $Revision: 5448 $
- Author:
- Martin Holzner
Method Summary |
protected void |
doView(RenderRequest req,
RenderResponse resp)
Helper method to serve up the mandatory view mode. |
void |
init()
A convenience method which can be overridden so that there's no need to call super.init(config) . |
Methods inherited from class javax.portlet.GenericPortlet |
destroy, doDispatch, doEdit, doHelp, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, processAction, render |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WsrpSelectorTestPortlet
public WsrpSelectorTestPortlet()
init
public void init()
throws PortletException
- Description copied from class:
GenericPortlet
- A convenience method which can be overridden so that there's no need to call
super.init(config)
.
Instead of overriding GenericPortlet.init(PortletConfig)
, simply override this method and it will be called by
GenericPortlet.init(PortletConfig config)
. The PortletConfig
object can still be
retrieved via GenericPortlet.getPortletConfig()
.
- Overrides:
init
in class GenericPortlet
- Throws:
PortletException
- if an exception has occurred that interferes with the portlet normal operation.
doView
protected void doView(RenderRequest req,
RenderResponse resp)
throws PortletException,
java.io.IOException
- Description copied from class:
GenericPortlet
- Helper method to serve up the mandatory
view
mode.
The default implementation throws an exception.
- Overrides:
doView
in class GenericPortlet
- Parameters:
req
- the portlet requestresp
- the render response
- Throws:
PortletException
- if the portlet cannot fulfilling the request
java.io.IOException
- if the streaming causes an I/O problem