Update of /var/cvs/html/mmbase/components/core/components
In directory james.mmbase.org:/tmp/cvs-serv29263
Modified Files:
list.jspx
Log Message:
show when no settings
See also: http://cvs.mmbase.org/viewcvs/html/mmbase/components/core/components
Index: list.jspx
===================================================================
RCS file: /var/cvs/html/mmbase/components/core/components/list.jspx,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- list.jspx 10 Jul 2008 15:48:45 -0000 1.17
+++ list.jspx 10 Jul 2008 15:52:41 -0000 1.18
@@ -5,6 +5,7 @@
id="${requestScope.componentId}"
xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
+ xmlns:fn="http://java.sun.com/jsp/jstl/functions"
xmlns:c="http://java.sun.com/jsp/jstl/core"
xmlns:mm="http://www.mmbase.org/mmbase-taglib-2.0"
>
@@ -79,6 +80,7 @@
<mm:fieldinfo type="input" datatype="s.dataType" />
-->
</mm:stringlist>
+ <c:if test="${fn:length(c.settings) eq 0}"><p>No settings</p></c:if>
<h3><fmt:message key="components.blocks" /></h3>
<p>Default block: ${c.defaultBlock.name}</p>
<mm:stringlist referid="c.blocks" id="b" jspvar="b"
vartype="org.mmbase.framework.Block">
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs