【问题标题】:liferay Dxp : How to redirect from a portel in one page to another page , which contains different portlet , when clicked on a hyperlinkliferay Dxp:单击超链接时,如何从一个页面中的portel重定向到另一个包含不同portlet的页面
【发布时间】:2018-08-09 11:26:24
【问题描述】:

liferay 7.1:我有两个页面 p1 和 p2,在 p1 上我有一个 portlet A,其中列出了一些博客标题,单击它后,我想重定向到 page2,其中包含一个 portlet,它将显示详细信息博客。

【问题讨论】:

标签: liferay liferay-7 liferay-dxp


【解决方案1】:
<a href="http://localhost:8080/web/configuration/show-account">redirect</a>"

重定向到放置您的 portlet 的页面。

【讨论】:

    【解决方案2】:

    只需将 href 设置为第二页的名称即可。

    如果您使用的是 aui:

    <aui:a href="yourSecondPageName">
    

    如果没有:

    <a href="yourSecondPageName">
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-05-17
      • 1970-01-01
      • 2014-11-21
      • 2015-06-19
      • 1970-01-01
      • 2023-04-03
      • 2010-11-18
      • 2019-08-04
      相关资源
      最近更新 更多