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

Extend MVC framework to have a better support for render and resource urls

Details

    Description

      The current MVC framework provided by Liferay through MVCPortlet.java supports to have ActionCommand.java. Those ActionCommand classes can be OSGi components that are registered and are executed for both actionURLs and resourceURLs.

      This is limiting because developers should be able to register a ActionCommand for a actionURL and other ActionCommand for a resourceURL using the same command.name for both.

      Besides supporting Action and Resource we should also include support to handle renderURLs because currently the MVCPortlet framework only allows to do redirect to a specific JSP using the mvcPath parameter. Developers should also be able to register a particular Action for renderURLs so the render method of those actions are executed.

      Attachments

        Activity

          People

            lawrence.lee Lawrence Lee
            sergio.gonzalez Sergio Gonzalez (Inactive)
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package
                7.0.0 M7