Update of
/var/cvs/contributions/CMSContainer/cmsc/edit-webapp/src/webapp/WEB-INF/tags/edit
In directory james.mmbase.org:/tmp/cvs-serv3928
Modified Files:
ui-table-paging-link.tagf ui-table-paging.tagf
Log Message:
CMSC-1099 sorting by some one column desc,after click one paging link ,the
sorting does not work
See also:
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer/cmsc/edit-webapp/src/webapp/WEB-INF/tags/edit
See also: http://www.mmbase.org/jira/browse/CMSC-1099
Index: ui-table-paging-link.tagf
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer/cmsc/edit-webapp/src/webapp/WEB-INF/tags/edit/ui-table-paging-link.tagf,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- ui-table-paging-link.tagf 15 Jul 2008 09:24:44 -0000 1.1
+++ ui-table-paging-link.tagf 22 Oct 2008 05:01:06 -0000 1.2
@@ -2,7 +2,7 @@
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
-<a href="<%=request.getContextPath()%>${link}page=${count-1}"
+<a
href="<%=request.getContextPath()%>${link}page=${count-1}&sortby=${param.sortby}&dir=${param.dir}"
class="${count == page +1 ? 'page_list_navfalse':'page_list_navtrue'}">
${count}
</a>
\ No newline at end of file
Index: ui-table-paging.tagf
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer/cmsc/edit-webapp/src/webapp/WEB-INF/tags/edit/ui-table-paging.tagf,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- ui-table-paging.tagf 22 Sep 2008 11:04:16 -0000 1.4
+++ ui-table-paging.tagf 22 Oct 2008 05:01:06 -0000 1.5
@@ -42,7 +42,7 @@
<td style="text-align:right;width:50%;">
<fmt:message key="searchpages.page"/>:
<c:if test="${page + 1> 1}">
- <a href="<%=request.getContextPath()%>${link}page=${page-1}">
+ <a
href="<%=request.getContextPath()%>${link}page=${page-1}&sortby=${param.sortby}&dir=${param.dir}">
<fmt:message key="pages.previous"/>>>
</a>
@@ -83,7 +83,7 @@
<c:set var="targetfield" value="${now.time}"/>
<c:if test="${page+1 < pages}">
- <a href="<%=request.getContextPath()%>${link}page=${page+1}">
+ <a
href="<%=request.getContextPath()%>${link}page=${page+1}&sortby=${param.sortby}&dir=${param.dir}">
<fmt:message key="pages.next"/>>>
</a>
</c:if>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs