Update of /var/cvs/html/mmbase/components/core
In directory james.mmbase.org:/tmp/cvs-serv4562

Modified Files:
        cite.jspx 
Log Message:
details


See also: http://cvs.mmbase.org/viewcvs/html/mmbase/components/core


Index: cite.jspx
===================================================================
RCS file: /var/cvs/html/mmbase/components/core/cite.jspx,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- cite.jspx   4 Aug 2008 21:56:09 -0000       1.3
+++ cite.jspx   6 Aug 2008 15:50:42 -0000       1.4
@@ -8,10 +8,11 @@
     xmlns:jsp="http://java.sun.com/JSP/Page";
     xmlns:mm="http://www.mmbase.org/mmbase-taglib-2.0";>
   <jsp:output omit-xml-declaration="true" />
+  <mm:import externid="page" required="true" />
 
+  <h2>${page}</h2>
   <mm:may action="view_source">
-    <mm:import externid="page" required="true" />
-    <mm:import externid="xml">${fn:endsWith(page, '.xml') or fn:endsWith(page, 
'.jspx')}</mm:import>
+    <mm:import externid="xml">${fn:endsWith(page, '.xml') or fn:endsWith(page, 
'.jspx') or fn:endsWith(page, '.xsl') or fn:endsWith(page, '.xslt')}</mm:import>
     <c:choose>
       <c:when test="${xml eq true}">
         <mm:formatter xslt="xslt/xmlverbatim.xsl" escape="none">
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to