Can you give me a help about how to use displaytag in my portal?
I'm having a problem with the URL created by the displaytag when i use the option pagesize.
Here is the code:
<c:set var="addRowURL"> <portlet:actionURL portletMode="view"> </portlet:actionURL> </c:set> <div id="hf-portlet-form-content"> <form name="ActionListShort" method="post" action="${addRowURL}"> <input type="hidden" name="<%= GeneralPortalConstants.PARAMETER__ACTION %>" value="" /> <input type="hidden" name="<%= GeneralPortalConstants.PARAMETER__CORE_ACTION_ID %>" value="-1" /> <c:set var="listaVal" value="<%= actionList %>"></c:set> <table with="100%" cellpadding="0" cellspacing="0" class="portlet-form-input-field"> <tr> <td align="center"> <display:table name="${listaVal}" id="item" sort="list" style="width:100%; text-align:center" cellpadding="0" cellspacing="0" class="bem-theme.css" pagesize="2"> <display:column sortable="true" property="startDateTimeFormat" title="${n:i18n('label.event.action.start_date')}" headerClass="sortable" class="portlet-form-input-field"/> <display:setProperty name="paging.banner.one_item_found" value=""></display:setProperty> <display:setProperty name="paging.banner.some_items_found" value=""></display:setProperty> <display:setProperty name="paging.banner.all_items_found" value=""></display:setProperty> </display:table> </td> </tr> </table> </form> </div>
http://localhost:8080/portal/auth/portal/sigo/Accoes
<display:table name="${listaVal}" id="item" sort="list" style="width:100%; text-align:center" cellpadding="0" cellspacing="0" class="bem-theme.css" pagesize="2" requestURI="${addRowURL}">
Nevermind. I found it. It was a problem only with the displaytag.