Update of /var/cvs/html/mmbase/components/test
In directory james.mmbase.org:/tmp/cvs-serv28961
Modified Files:
included.jspx urls.jspx
Log Message:
cosmetic changes only
See also: http://cvs.mmbase.org/viewcvs/html/mmbase/components/test
Index: included.jspx
===================================================================
RCS file: /var/cvs/html/mmbase/components/test/included.jspx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- included.jspx 25 Apr 2008 10:21:38 -0000 1.1
+++ included.jspx 25 Apr 2008 14:07:15 -0000 1.2
@@ -6,12 +6,15 @@
xmlns:mm="http://www.mmbase.org/mmbase-taglib-2.0"
xmlns:jsp="http://java.sun.com/JSP/Page"
>
+ <jsp:output omit-xml-declaration="true" />
<mm:import externid="a" >XXX</mm:import>
-
+ <div class="included">
<h2>Included</h2>
+ <p>
<c:choose>
<c:when test="${a eq 'XXX'}">NOT ok (a=${a}, should not be 'XXX')</c:when>
- <c:otherwise>OK ${a} != 'XXX'</c:otherwise>
+ <c:otherwise>OK a != 'XXX' (but ${a})</c:otherwise>
</c:choose>
-
+ </p>
+ </div>
</jsp:root>
Index: urls.jspx
===================================================================
RCS file: /var/cvs/html/mmbase/components/test/urls.jspx,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- urls.jspx 25 Apr 2008 10:21:38 -0000 1.9
+++ urls.jspx 25 Apr 2008 14:07:15 -0000 1.10
@@ -7,11 +7,12 @@
>
<mm:import externid="a" >A</mm:import>
<mm:import externid="b" >B</mm:import>
-
+ <jsp:output omit-xml-declaration="true" />
<div
class="test mm_c mm_c_test mm_c_b_urls
${requestScope.componentClassName}"
id="${requestScope.componentId}">
+
<h1>
<jsp:text>This block needs to be showed on</jsp:text>
<mm:link page="/mmbase/test/test/urls"><a
href="${_}">/mmbase/test/test/urls</a></mm:link>
@@ -75,7 +76,6 @@
<mm:component name="test" block="suburls" />
<mm:component name="test" block="suburls" />
- a: ${a}
- <mm:include referids="a" page="/mmbase/components/test/included.jspx" />
+ <mm:include debug="xml" referids="a"
page="/mmbase/components/test/included.jspx" />
</div>
</jsp:root>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs