Hi,

I'm trying to pass a parameter within the Pagination links.

<portlet:renderURL portletMode="view" var="staffurl">
        <portlet:param name="filter" value="staff"/>
</portlet:renderURL>

<display:table  name="staff" uid="staff"
                requestURI="${staffurl}" pagesize="10"  
                id="staffTableRow"      
decorator="uk.ac.manchester.portlet.contacts.mvc.ContactsTableDecorator">

<display:setProperty name="factory.requestHelper" 
value="org.displaytag.portlet.PortletRequestHelperFactory"/>

<display:column title='Title'>${staffTableRow.title}</display:column>    
<display:column property="nameLink"/>
<display:column 
title="School/Division">${staffTableRow.school}</display:column>
<display:column title="Section">${staffTableRow.section}</display:column>
<display:column title="Role">${staffTableRow.roleTitle}</display:column>
<display:column title="Phone">${staffTableRow.phone}</display:column>
<display:column title="Location">${staffTableRow.loc}</display:column>
</display:table>


If I do
        <p>${staffurl}</p>

it prints out
/uPortal/render.userLayoutRootNode.target.n868.uP?pltc_target=413735.n868&pltc_type=RENDER&pltp_filter=staff#n868

However the Pagination links look like this
http://localhost:8080/uPortal/render.userLayoutRootNode.target.n868.uP?pltc_target=413735.n868&pltc_type=RENDER&pltp_d-6914014-p=2#n868

As you can see, I'm missing the filter (aka pltp_filter=staff) parameter!!

Thanks,
Anthony.

------------------------------------------------------------------------------
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to