Update of
/var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/resources
In directory
james.mmbase.org:/tmp/cvs-serv5535/applications/taglib/src/org/mmbase/bridge/jsp/taglib/resources
Modified Files:
Tag: MMBase-1_8
taglibcontent.xml
Log Message:
paragraph parameterized escaper. Wraps a text in <p> tags unless it already has
them. A paramter passed allows to specify a css classname for the tag
See also:
http://cvs.mmbase.org/viewcvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/resources
Index: taglibcontent.xml
===================================================================
RCS file:
/var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/resources/taglibcontent.xml,v
retrieving revision 1.51.2.4
retrieving revision 1.51.2.5
diff -u -b -r1.51.2.4 -r1.51.2.5
--- taglibcontent.xml 13 Feb 2008 09:19:23 -0000 1.51.2.4
+++ taglibcontent.xml 18 Mar 2008 15:14:42 -0000 1.51.2.5
@@ -5,7 +5,7 @@
It is not a good idea to change things in this XML (because this might cause
portability issues), but
you can _add_ (and propose them to the community) or _remove_ things (if you
find them undesirable).
- version: $Id: taglibcontent.xml,v 1.51.2.4 2008/02/13 09:19:23 ernst Exp $
+ version: $Id: taglibcontent.xml,v 1.51.2.5 2008/03/18 15:14:42 pierre Exp $
-->
<!-- First per content-type default escapers and postprocessors are defined.
@@ -351,6 +351,15 @@
</info>
</param>
</parameterizedescaper>
+ <parameterizedescaper id="paragraph">
+ <class>org.mmbase.util.transformers.ParagraphTransformerFactory</class>
+ <info>Wraps a text in paragraph (p) tags, unless it is empty or that
textstarts with a p tag (in which case it is already wrapped). Use this for
fields that contain HTML, but for which you are unsure if they have parahraph
tags already</info>
+ <param name="class">
+ <info>
+ A class name to give to the paragraph tag.
+ </info>
+ </param>
+ </parameterizedescaper>
<parameterizedescaper id="resourcebundle">
<class>org.mmbase.util.transformers.ResourceBundleReplacerFactory</class>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs