📄 portlet.apt
字号:
------------------------------
Portlet Support
------------------------------
Eric Dalquist
------------------------------
22-12-2005
------------------------------
JSR-168 Portlet Support
* Configuration
As specified in the documentation PDF the factory.requestHelper property must be specified in the
displaytag.properties file in your applications classpath. To configure portlet support for the displaytag library
ensure the displaytag-portlet.jar is in the classpath and the following line is in your displaytag.properties file.
+----------------------------+
factory.requestHelper=org.displaytag.portlet.PortletRequestHelperFactory
+----------------------------+
* Usage
The displaytag-portlet library needs access to the javax.portlet.PortletRequest and javax.portlet.RenderResponse
objects for the request the JSP is rendering in. The library uses the javax.servlet.jsp.PageContext#findAttribute
method to locate the request and response objects using the names "javax.portlet.request" and
"javax.portlet.response".
To provide these objects it is recommended they be bound as request attributes using these names. If your portal
uses the Apache Pluto portlet container the objects will already be bound to the request using the appropriate
names.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -