I am using displaytag inside a portlet.
But the links resulted in my table, when i am adding a new parameter, is not jsr 168 compliant.
In my displaytag.properties i set: factory.requestHelper=org.displaytag.portlet.PortletRequestHelperFactory ,
in fact the pagination works perfectly with a right url.
But the links in my table are not:
http://localhost:8080/jetspeed/portal/_ns:YmZvcnVtLWFwcHxjMHxkMXxlYWN0aW9uTmFtZT0xPW1lc3NhZ2dp/?threadId=5565
This is my jsp:
<%
InfoLastPost[] lastPost = (InfoLastPost[]) renderRequest
.getAttribute("lastPost");
PortletURL nextUrla=renderResponse.createActionURL();
nextUrla.setParameter(AppConstants.Actions.ACTION_NAME, AppConstants.Actions.MESSAGGI );
PortletURL nextUrla1=renderResponse.createActionURL();
nextUrla1.setParameter(AppConstants.Actions.ACTION_NAME, AppConstants.Actions.THREAD);
%>
<display:table name="<%=lastPost%>" class="table">
<display:column property="subject"
href="" paramId="threadId" paramProperty="threadId"
title="Topic piĆ¹ recenti" headerClass="headerClass" />
<display:column property="description"
href="" paramId="forumId" paramProperty="forumId"
title="Forum" headerClass="headerClass" />
<display:column property="date" title="Data" headerClass="headerClass" />
</display:table>
What am i doing wrong?
thanks,
Ilaria
_______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user