Update of /var/cvs/contributions/didactor2/src/core/metainf/tags/di/core
In directory james.mmbase.org:/tmp/cvs-serv15936

Modified Files:
        html.tagx 
Log Message:
added the possibillity to add a description (like jsp:tag description)


See also: 
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/core/metainf/tags/di/core


Index: html.tagx
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/core/metainf/tags/di/core/html.tagx,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- html.tagx   20 Mar 2008 15:44:40 -0000      1.14
+++ html.tagx   20 Mar 2008 16:45:06 -0000      1.15
@@ -7,6 +7,7 @@
   <jsp:directive.tag
       description="Didactor template, put your component in its's body. Like 
so, you don't need to explicitly use ugly header and footer includes yourself."
       />
+  <jsp:directive.attribute name="description"    />  <!-- ignored, just to 
document the page itself -->
   <jsp:directive.attribute name="title_key"    />
   <jsp:directive.attribute name="title"    />
   <jsp:directive.attribute name="title_nodeparams"  />
@@ -32,6 +33,7 @@
               language="${requestScope.language}" expires="${expires}">
     <mm:cloud rank="${empty rank ? 'didactor user' : rank}">
       <html  xmlns="http://www.w3.org/1999/xhtml";>
+        <c:if test="${! empty description}">&lt;!-- ${description} 
--&gt;</c:if>
         <di:head>
           <title>
             <c:forTokens items="${title_nodeparams}" delims="," 
var="title_nodeparam">
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to