上一篇 | 下一篇

WebLogic Portal 8.1 中的 URL

发布: 2008-7-01 21:26 | 作者: admin | 来源: | 查看: 6次

Producer 使用这些模板创建 URL 。注意 , Producer 不一定是 WebLogic Portal 。使用其他实现也可以处理这些 URL 模板 , 因为这些标志是由 WSRP 1.0 规范定义的。

WebLogic Portal 聚合 Producer 返回的标记而不进一步处理。

将 WebLogic Portal 设置为 Producer 时 , 它将使用 URL 模板 , 这一点与本地使用 portlet 的 情况类似。惟一的区别是 , 它使用 Consumer 发送的模板 , 而不使用在 Producer 本地部署的模板。

  下面是一个示例。我们假定您使用以下 JSP 部署 Page Flow portlet :

<%@ taglib uri="netui-tags-html.tld" prefix="netui"%>

Next

当您在 WebLogic Portal Consumer 中消费此 portlet 时 , 它将发送以下 SOAP 请求以获取该 portlet 的标记 :

portlet_1

wsrp:none

portlet_1_2_1

portlet_1_2_1

http://localhost:7001/consumer/hello.portal?_nfpb=true&

_windowLabel=portlet_1_2_1&_pageLabel=hello_page_2&

wsrp-urlType={wsrp-urlType}&wsrp-url={wsrp-url}&

wsrp-requiresRewrite={wsrp-requiresRewrite}&

wsrp-navigationalState={wsrp-navigationalState}&

wsrp-interactionState={wsrp-interactionState}&

wsrp-mode={wsrp-mode}&wsrp-windowState={wsrp-windowState}

http://localhost:7001/consumer/hello.portal?_nfpb=true&

_windowLabel=portlet_1_2_1&_pageLabel=hello_page_2&

wsrp-urlType=blockingAction&wsrp-url={wsrp-url}&

wsrp-requiresRewrite={wsrp-requiresRewrite}&

wsrp-navigationalState={wsrp-navigationalState}&

wsrp-interactionState={wsrp-interactionState}&

wsrp-mode={wsrp-mode}&wsrp-windowState={wsrp-windowState}

http://localhost:7001/consumer/hello.portal?_nfpb=true&

_windowLabel=portlet_1_2_1&_pageLabel=hello_page_2&

wsrp-urlType=render&wsrp-url={wsrp-url}&

wsrp-requiresRewrite={wsrp-requiresRewrite}&

wsrp-navigationalState={wsrp-navigationalState}&

wsrp-interactionState={wsrp-interactionState}&

wsrp-mode={wsrp-mode}&wsrp-windowState={wsrp-windowState}

http://localhost:7001/consumer/resource?_windowLabel=portlet_1_2_1&

wsrp-urlType=resource&wsrp-url={wsrp-url}&

wsrp-requiresRewrite={wsrp-requiresRewrite}

http://localhost:7002/consumer/hello.portal?_nfpb=true&

_windowLabel=portlet_1_2_1&_pageLabel=hello_page_2&

wsrp-urlType={wsrp-urlType}&wsrp-url={wsrp-url}&

wsrp-requiresRewrite={wsrp-requiresRewrite}&

wsrp-navigationalState={wsrp-navigationalState}&

wsrp-interactionState={wsrp-interactionState}&

wsrp-mode={wsrp-mode}&wsrp-windowState={wsrp-windowState}

https://localhost:7002/consumer/hello.portal?_nfpb=true&

_windowLabel=portlet_1_2_1&_pageLabel=hello_page_2&

wsrp-urlType=blockingAction&wsrp-secureURL=true&

wsrp-url={wsrp-url}&wsrp-requiresRewrite={wsrp-requiresRewrite}&

wsrp-navigationalState={wsrp-navigationalState}&

wsrp-interactionState={wsrp-interactionState}&

wsrp-mode={wsrp-mode}&wsrp-windowState={wsrp-windowState}]]>

https://localhost:7002/consumer/hello.portal?_nfpb=true&

_windowLabel=portlet_1_2_1&_pageLabel=hello_page_2&

wsrp-urlType=render&wsrp-secureURL=true&wsrp-url={wsrp-url}&

wsrp-requiresRewrite={wsrp-requiresRewrite}&

wsrp-navigationalState={wsrp-navigationalState}&

wsrp-interactionState={wsrp-interactionState}&

wsrp-mode={wsrp-mode}&wsrp-windowState={wsrp-windowState}]]>

https://localhost:7002/consumer/resource?_windowLabel=portlet_1_2_1&

wsrp-urlType=resource&wsrp-secureURL=true&

wsrp-url={wsrp-url}&wsrp-requiresRewrite={wsrp-requiresRewrite}

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>

false

en-US

text/html

*/*

wsrp:view

wsrp:normal

Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;

SV1; .NET CLR 1.1.4322; FDM)

UTF-8

[8]

字号: | 推荐给好友

评分:0

我来说两句