Hello,
I'm trying to use external paging in a JSR-286 portlet with DisplayTag 1.2.
I would like DisplayTag to generate the paging links from a parameterized
Action URL that i have defined, but i can't seem to make that work.
Here is the code in my JSP:
<portlet:actionURL var="actionUrl">
<portlet:param name="someParam" value="someValue"/>
</portlet:actionURL>
<display-el:table id="personsTable"
name="${portletSessionScope.persons}"
requestURI="${actionUrl}"
partialList="true"
size="${portletSessionScope.total}"
pagesize="${portletSessionScope.pageSize}">
<display-el:column property="firstName"/>
<display-el:column property="lastName"/>
</display-el:table>
<form action="<c:out value="${actionUrl}"/>" method="POST">
<input type="submit"/>
</form>
With the above code, it looks like DisplayTag ignores the provided
${actionUrl} and generates a default Render URL. The generated links work
fine (i can move through pages), but since my portlet requires an Action
request to fetch other pages of data, the list in the session is never
updated and the table always contains the same data, regardless of which
page i select.
Is there a way i might make that work? Does DisplayTag support what i'm
trying to do?
Thanks in advance for your help!
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user