Update of
/var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/resources
In directory
james.mmbase.org:/tmp/cvs-serv5621/applications/taglib/src/org/mmbase/bridge/jsp/taglib/resources
Modified Files:
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.55
retrieving revision 1.56
diff -u -b -r1.55 -r1.56
--- taglibcontent.xml 13 Feb 2008 09:21:47 -0000 1.55
+++ taglibcontent.xml 18 Mar 2008 15:15:12 -0000 1.56
@@ -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.55 2008/02/13 09:21:47 ernst Exp $
+ version: $Id: taglibcontent.xml,v 1.56 2008/03/18 15:15:12 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