[opencms-dev] org.opencms.xml.types.CmsXmlStringValue
Bernd Wolfsegger
bw at code-create.com
Wed Sep 28 13:49:12 CEST 2005
Hi all and Alkacon,
it is possible to put html code into a xmlcontent CmsXmlStringValue field.
Thats very fine.
But the CmsXmlStringValue class lacks the getPlainText() method to filter this
html.
Not so nice in search result excerpts :)
So I have added this method, wich is nothing more to do than copying it from
CmsXmlHtmlValue.
I have added the changed class. (Ah, wasn't there a problem in the list with
attachments?)
Kind regards, Bernd Wolfsegger
--
[ Code Create
[ Web Content Management and Presentation
[ Bernd Wolfsegger
[ Sun Certified Programmer for Java(TM) 2 Platform
[ Lohmeyerstrasse 13
[ 10587 Berlin
[ Germany
[ Fon +49 (0)30 26555788
[ Fax +49 (0)30 2651835
[ Mobile +49 (0)163 6505622
[ bw at code-create.com
[ http://www.code-create.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CmsXmlStringValue.java
Type: text/x-java
Size: 4325 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050928/17727f6a/attachment.java>
More information about the opencms-dev
mailing list