Update of /var/cvs/contributions/CMSContainer/cmsc/edit-webapp/src/webapp/WEB-INF/tags/edit In directory james.mmbase.org:/tmp/cvs-serv23425/CMSContainer/cmsc/edit-webapp/src/webapp/WEB-INF/tags/edit
Modified Files: ui-table.tag ui-tcolumn.tag Log Message: CMSC-1177 Community: add select all checkbox to community user listing 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-1177 Index: ui-table.tag =================================================================== RCS file: /var/cvs/contributions/CMSContainer/cmsc/edit-webapp/src/webapp/WEB-INF/tags/edit/ui-table.tag,v retrieving revision 1.4 retrieving revision 1.5 diff -u -b -r1.4 -r1.5 --- ui-table.tag 28 Jul 2008 14:51:42 -0000 1.4 +++ ui-table.tag 9 Dec 2008 05:27:58 -0000 1.5 @@ -4,7 +4,7 @@ <%@ attribute name="var" rtexprvalue="false" required="true" type="java.lang.String" %> <%@ attribute name="size" rtexprvalue="true" required="true" type="java.lang.Integer" %> <%@ attribute name="requestURI" rtexprvalue="true" required="false" type="java.lang.String" %> - +<%@ attribute name="bulkbox" rtexprvalue="true" required="false" type="java.lang.Boolean" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> @@ -28,16 +28,15 @@ <c:set var="link" value="${link}${element.key}=${element.value}&"/> </c:if> </c:forEach> - <c:set var="sortlink" value="${link}" scope="request"/> - - <c:choose> <c:when test="${fn:length(items) > 0}"> <%@ include file="ui-table-paging.tagf" %> <table> <thead class="listheader"> <c:set var="tag_op_status" value="header" scope="request"/> + <c:set var="bulkbox" value="${bulkbox}" scope="request"/> + <c:set var="size" value="${size}" scope="request"/> <jsp:doBody/> </thead> <tbody class="hover"> Index: ui-tcolumn.tag =================================================================== RCS file: /var/cvs/contributions/CMSContainer/cmsc/edit-webapp/src/webapp/WEB-INF/tags/edit/ui-tcolumn.tag,v retrieving revision 1.4 retrieving revision 1.5 diff -u -b -r1.4 -r1.5 --- ui-tcolumn.tag 25 Jul 2008 08:42:58 -0000 1.4 +++ ui-tcolumn.tag 9 Dec 2008 05:27:58 -0000 1.5 @@ -20,7 +20,12 @@ <fmt:message key="${titlekey}"/> </c:when> <c:when test="${'' eq title}"> + <c:if test="${not empty bulkbox && size > 1}"> + <input type="checkbox" name="selectall" onclick="selectAll(this.checked, 'selectform', 'chk_');" value="on"/> + </c:if> + <c:if test="${empty bulkbox}"> + </c:if> </c:when> </c:choose> </c:set> @@ -35,7 +40,6 @@ ${content} </c:otherwise> </c:choose> - </th> </c:when> <c:otherwise> _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs