Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-85581

Enable contribution of SessionErrors to the target of any LiferayPortletURL


    • Type: Story
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:


      Liferay provides PortletURLFactoryUtil which enables you to generate URLs to specific/other portlets from any context. This enables the developer to create complex web flows that involve multiple portlets, that can even be placed on different portal pages.

      However, communicating contextual messages between these portlets is not straight forward, and often requires the use of Portlet render parameters (Strings only).

      Similarly you may want to propagate messages from a StrutsAction or Filter.


      Liferay provides ErrorTag to display warning and error messages . It depends on finding Map<String,Object> entries in the portal session. This works very well when the web flow consists of only one portlet, but in the aforementioned multiple portlets web flow, it becomes useless. This is because the entry's key is prefixed with the portlet name and layout.

      It should be possible to contribute warnings & errors from portlet A (or StrutsAction / Filter) to be displayed in portlet B through a simple API.



          Issue Links



              • Assignee:
                support-lep@liferay.com SE Support
                id30721 id30721
                Recent user:
                Stian Sigvartsen
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                0 Start watching this issue


                • Created:


                  Version Package