Uploaded image for project: 'PUBLIC - MVC4SPRING'
  1. PUBLIC - MVC4SPRING
  2. MVCS-6

Upgrade to the Portlet 3.0 API

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.0
    • Component/s: framework
    • Labels:
      None

      Description

      This task involves upgrading PortletMVC4Spring from the Portlet 2.0 API to the Portlet 3.0 API. This includes the ability to upload files without the Apache commons-io and commons-fileupload dependencies using a new MultipartResolver that utilizes the Portlet 3.0 file upload feature:

      WEB-INF/spring-context/portlet-application-context.xml
      <?xml version="1.0"?>
      <beans
      	xmlns="http://www.springframework.org/schema/beans"
      	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      	xsi:schemaLocation="
      		http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
      	<bean id="portletMultipartResolver" class="com.liferay.portletmvc4spring.multipart.StandardPortletMultipartResolver" />
      </beans>
      

        Attachments

          Activity

            People

            • Assignee:
              neil.griffin Neil Griffin
              Reporter:
              neil.griffin Neil Griffin
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                5.1.0