title: Spring MVC Portlets: external pagination with displaytag needs to go to the action phase
body: <p>I'm using Spring MVC portlets I need to implement one display tag with external pagination. In order to do this, I've defined my table in the JSP like this:</p>
  
  <pre><code>    &lt;portlet:actionURL var="viewListURL"&gt;
          &lt;portlet:param name='action' value='${ServletContextKeys.MY_ACTION_METHOD}'/&gt; 
      &lt;/portlet:actionURL&gt;  
                  &lt;display:table name="${whateverList}"
                                 requestURI="${viewListURL}"
                                 class="displayTagTable"
                                 export="true"
                                 uid="item"
                                 pagesize="10"
                                 partialList="true"
                                 sort="external"
                                 defaultsort="1"                                  
                                 size="${ServletContextKeys.SC_LIST_SIZE}"&gt;
       ...
  </code></pre>
  
  <p>The problem is that, when I click any button to paginate, the displaytag redirects me to the render phase instead the action phase as I want to. What am I doing wrong? Any ideas..?
  Thanks a lot</p>
  
  <p>EDIT: I can see in the URL that the parameter p_p_url_type=0 (render phase). it makes no sense to me, as I'm calling an action url, but maybe would be enough just change this parameter to p_p_url_type=1. But, I'm just don't know how... Any ideas?</p>
  
  <pre><code>http://localhost:8080/wsdes/user/sifo3/home?p_p_id=SifoIIIweb_WAR_sifo3economicoweb_INSTANCE_s8jH&amp;p_p_lifecycle=1&amp;p_p_url_type=0&amp;p_p_state=maximized&amp;p_p_mode=view&amp;_SifoIIIweb_WAR_sifo3economicoweb_INSTANCE_s8jH_action=consultaJustificantes&amp;_SifoIIIweb_WAR_sifo3economicoweb_INSTANCE_s8jH_implicitModel=true&amp;_SifoIIIweb_WAR_sifo3economicoweb_INSTANCE_s8jH_d-49489-p=2
  </code></pre>