Author: kevinshen
Date: 2010-02-08 10:33:26 +0100 (Mon, 08 Feb 2010)
New Revision: 40888
Modified:
CMSContainer/trunk/CMSContainer/cmsc/edit-webapp/src/webapp/WEB-INF/tags/edit/ui-tcolumn.tag
Log:
CMSC-1636 Community: add sort on status, select all, delete options
Modified:
CMSContainer/trunk/CMSContainer/cmsc/edit-webapp/src/webapp/WEB-INF/tags/edit/ui-tcolumn.tag
===================================================================
---
CMSContainer/trunk/CMSContainer/cmsc/edit-webapp/src/webapp/WEB-INF/tags/edit/ui-tcolumn.tag
2010-02-08 09:32:41 UTC (rev 40887)
+++
CMSContainer/trunk/CMSContainer/cmsc/edit-webapp/src/webapp/WEB-INF/tags/edit/ui-tcolumn.tag
2010-02-08 09:33:26 UTC (rev 40888)
@@ -3,6 +3,7 @@
<%@ attribute name="title" rtexprvalue="true" required="false" %>
<%@ attribute name="sort" rtexprvalue="true" required="false" %>
<%@ attribute name="width" rtexprvalue="true" required="false" %>
+<%@ attribute name="checkboxlabel" rtexprvalue="true" required="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
@@ -21,7 +22,10 @@
</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"/>
+ <input type="checkbox" name="selectall"
onclick="selectAll(this.checked, 'selectform', 'chk_');" value="on"
style="margin:0px 0px 0px 4px !important;> margin:0px 0px !important;margin:0px
0px;"/>
+ <c:if test="${not empty checkboxlabel}">
+ <span
style="padding-left:4px;position:absolute;text-transform:none"><fmt:message
key="${checkboxlabel}" /></span>
+ </c:if>
</c:if>
<c:if test="${empty bulkbox}">
@@ -29,7 +33,7 @@
</c:when>
</c:choose>
</c:set>
- <th ${not empty width ? width : ''}>
+ <th width="${not empty width ? width : ''}">
<c:choose>
<c:when test="${not empty sort}">
<a
href="<%=request.getContextPath()%>${requestScope.sortlink}page=${page}&sortby=${sort}&dir=${dir}">
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs