<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>What is the future of Spring Portlet MVC? Long live PortletMVC4Spring!</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=113451047" />
  <subtitle>What is the future of Spring Portlet MVC? Long live PortletMVC4Spring!</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=113451047</id>
  <updated>2026-04-05T15:17:40Z</updated>
  <dc:date>2026-04-05T15:17:40Z</dc:date>
  <entry>
    <title>RE: What is the future of Spring Portlet MVC? Long live PortletMVC4Spring!</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118674725" />
    <author>
      <name>Safet Okic</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118674725</id>
    <updated>2020-03-06T10:14:55Z</updated>
    <published>2020-03-06T10:14:55Z</published>
    <summary type="html">Hello Neil,&lt;br /&gt;We are currently in the process of migrating to spring 5 for our Liferay 7.1 portal. We are using the portletmvc4spring Project in order to achieve this. So I have a question regarding the implementation of the portletmvc4spring:&lt;br /&gt;In the PortletRequestMappingHandlerAdapter class in the private invokeHandlerMethod on line 1037 the SessionStatus is set to complete for every RenderRequest and ResourceRequest. I there a specific reason why this was done?&lt;br /&gt;Our issue is that we have the old war packaging and deployment of portlets and are using @SessionAttributes in order to preserve the model after the render phase to have it again in an action phase when a user clicks on a button. But with the SessionStatus set to complete the model is removed from the session and we can&amp;#39;t get it after the with @ModelAttribute in any of the phases.The specific use case is that we have a specific non admin role that can see inactive users and enable them. So we load all inactive users and display thenm in a table (default render phase), then the user with the specific role can decide if that user should be activated (action phase activated with button press). With the current implementation the @ModelAttribute is the @ActionMapping is calling the initial @ModelAttribute  method since the model has not been stored in the sessionAttributeStore.&lt;br /&gt;Is this a bug on in portletmvc4spring or was this done on purpose?&lt;br /&gt;Regards, Safet Okic</summary>
    <dc:creator>Safet Okic</dc:creator>
    <dc:date>2020-03-06T10:14:55Z</dc:date>
  </entry>
  <entry>
    <title>What is the future of Spring Portlet MVC? Long live PortletMVC4Spring!</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113451046" />
    <author>
      <name>Neil Griffin</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113451046</id>
    <updated>2019-04-29T15:21:17Z</updated>
    <published>2019-04-29T15:21:17Z</published>
    <summary type="html">For more information, see my &lt;a href="https://community.liferay.com/blogs/-/blogs/what-does-the-future-hold-for-spring-portlet-mvc-long-live-portletmvc4spring-"&gt;blog post&lt;/a&gt;.</summary>
    <dc:creator>Neil Griffin</dc:creator>
    <dc:date>2019-04-29T15:21:17Z</dc:date>
  </entry>
</feed>
