gpt4 book ai didi

liferay - Liferay 是否支持不同页面上的 portlet 的 IPC?

转载 作者:行者123 更新时间:2023-12-02 17:55:12 24 4
gpt4 key购买 nike

在 IBM Websphere for IPC 中,我们有一个名为 Wiring 的东西。如果您的事件接收 Portlet 位于与源 Portlet 不同的页面上,这允许我们切换到接收 Portlet 页面。

我想知道是否有任何方法可以在 Liferay 中实现这一目标。

我还点击了链接:Using JSR-268 IPC for portlets on different pages in Liferay但不清楚 application-context.xml 因为我已经从 Eclipse 创建了一个简单的 Liferay 插件 portlet 项目。

最佳答案

是的,这是可能的。您只需传递 Layout id、portlet id 以及您的参数即可。

<liferay-renderURL var="varLink" plId="layout-id" portletName="portletName_WAR_WarName"/>

关于liferay - Liferay 是否支持不同页面上的 portlet 的 IPC?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15064271/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com