Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-73282 Implement Portlet 3.0
  3. LPS-80724

Portlet 3.0: Implement Javadoc requirements for PortletMode.UNDEFINED and WindowState.UNDEFINED

    Details

    • Type: Technical Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: Master
    • Component/s: None
    • Labels:
      None

      Description

      The PortletMode.UNDEFINED and WindowState.UNDEFINED constants were introduced into Portlet 3.0 so that the RenderState.getPortletMode() and RenderState.getWindowState() methods would not have to return a null value when the portlet mode and window state are unknown. This scenario only happens with ActionResponse and EventResponse. For more information, see the Portlet 2.0 Javadoc for StateAwareResponse.getPortletMode() and StateAwareResponse.getWindowState().

        Attachments

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            neil.griffin Neil Griffin
            Recent user:
            Brian Chan
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 11 weeks, 3 days ago

                Packages

                Version Package
                Master