portlet.apt
来自「一个比较不错的java分页标签,有源代码,开发者 可以学习学习」· APT 代码 · 共 33 行
APT
33 行
------------------------------
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 + =
减小字号Ctrl + -
显示快捷键?