Update of /var/cvs/contributions/CMSContainer/cmsc/taglib/src/tld
In directory james.mmbase.org:/tmp/cvs-serv1785/cmsc/taglib/src/tld
Modified Files:
Tag: b1_4
cmsc.tld
Log Message:
CMSC-783 - inverse attribute for cmsc:protected tag
See also:
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer/cmsc/taglib/src/tld
See also: http://www.mmbase.org/jira/browse/CMSC-783
Index: cmsc.tld
===================================================================
RCS file: /var/cvs/contributions/CMSContainer/cmsc/taglib/src/tld/cmsc.tld,v
retrieving revision 1.31.2.1
retrieving revision 1.31.2.2
diff -u -b -r1.31.2.1 -r1.31.2.2
--- cmsc.tld 3 Mar 2008 13:02:10 -0000 1.31.2.1
+++ cmsc.tld 3 Mar 2008 15:10:07 -0000 1.31.2.2
@@ -1366,10 +1366,16 @@
<!-- Security Tags -->
<!-- ################ -->
<tag>
- <description>Container for protected content</description>
+ <description>Container for protected content. Will process the body
only if someone is authenticated.</description>
<name>protected</name>
<tag-class>com.finalist.cmsc.taglib.security.ProtectedTag</tag-class>
<body-content>scriptless</body-content>
+ <attribute>
+ <description>If true, the body is processed only when nobody is
logged in, thus inversing the working of this tag. Defaults to
false.</description>
+ <name>inverse</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ </attribute>
</tag>
<tag>
<description>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs