在IBM WebSphere Portal 7上使用WSRP远程呈现WCM内容

时间:2011-10-17 14:33:57

标签: websphere portal wcm wsrp

我们在单独的服务器上使用WebSphere Portal 7和WCM 7。我们已经设置了WSRP,以便我们可以在Portal服务器上呈现WCM内容。我遇到的问题是JSR 286 Web Content Viewer的推荐设置(关闭动态链接广播功能)会破坏页面其余部分的链接。如果我打开该功能,则其他链接可以正常工作,但WCM内容中的链接会失败。所有本地链接(到其他虚拟门户网站或映射的URL)都会被重写(通过Portal)以通过WsrpProxyPortlet,即使没有必要这样做。

有没有办法在Portal 7和WCM 7上使用远程渲染,以便可以在同一页面上使用WCM和自定义portlet,并且来自和将来的链接都可以使用?

我把一个表格放在一起排列和尝试每个的结果,遗憾的是它格式不正确所以我把它粘贴为格式化的文本。

+=======================================================================================================+
| Broadcast links to    | Receive links from    | Portal | WCM  | Comment                               |
+=======================================================================================================+
|                       | Other portlets and    | No     | Yes  | Portal links to the page with this    |
|                       | this portlet          |        |      | setting do not work                   |
| Dynamically select a  +-------------------------------------------------------------------------------+
| Web content page      | This portlet only     | Yes    | No   | WCM Links do not work at all          |
|                       +-------------------------------------------------------------------------------+
|                       | None                  | Yes    | No   | WCM Links do not work at all          |
+=======================================================================================================+
|                       | Other portlets and    | No     | Yes  | Portal links to the page with this    |
|                       | this portlet          |        |      | setting do not work                   |
| This portal page      +-------------------------------------------------------------------------------+
|                       | This portlet only     | Yes    | No   | WCM Links do not work at all          |
|                       +-------------------------------------------------------------------------------+
|                       | None                  | Yes    | No   | WCM Links do not work at all          |
+=======================================================================================================+
|                       | Other portlets and    | No     | Yes* | Portal links to this page do not work.|
|                       | this portlet          |        |      | WCM and Portal links on this page     |
|                       |                       |        |      | works, once you get to it.            |
| The following portal  +-------------------------------------------------------------------------------+
| page                  | This portlet only     | Yes    | No   | WCM Links do not work at all          |
|                       +-------------------------------------------------------------------------------+
|                       | None                  | No*    | No   | Portal links only work if in the      |
|                       |                       |        |      | same context                          |
+=======================================================================================================+
|                       | Other portlets and    | No*    | No*  | Neither Portal, nor WCM, links to the |
|                       | this portlet          |        |      | page work as they should. You can     |
|                       |                       |        |      | only get to the page through a        |
|                       |                       |        |      | sequence of other pages. Once you get |
|                       |                       |        |      | to it WCM links work, but links to    |
| None                  |                       |        |      | other Portal pages break.             |
|                       +-------------------------------------------------------------------------------+
|                       | This portlet only     | No     | No   | No way to get to this page.           |
|                       +-------------------------------------------------------------------------------+
|                       | None                  | No*    | No   | Portal links to the page work, but    |
|                       |                       |        |      | links from the page do not.           |
+=======================================================================================================+

1 个答案:

答案 0 :(得分:0)

提示:将浏览器指向WCM服务器,路径为/ wps / wcm / myconnect / WCM-library / content-path /。通过预览内容项获取示例路径。远程呈现只是通过http客户端和传递LTPA cookie来询问servlet的内容。您还可以快速将链接重写为portlet(或其他门户网站页面上的其他portlet)的参数。

这就是IBM用来实现官方远程呈现portlet的方式(至少在6.1上可用),如果你再也找不到实际的非wsrp远程呈现portlet,那么很容易自己构建。