Probleme when editing an OpenCmsString with HtmlWidget defined
Hi guys,
I have a little Problem with an OpenCms 7.05 Installation regarding the
editing of content.
I have a content-element "TextField" which is an OpenCmsString, but have defined to use
the HtmlWidget for editing that "TextField" (see below)
<xsd:complexType name="OpenCmsHomeSite">
<xsd:sequence>
<xsd:element name="HeadImage" type="OpenCmsVfsFile" />
<xsd:element name="TextField" type="OpenCmsString" />
<xsd:element name="Download" type="OpenCmsDownload" minOccurs="1" maxOccurs="unbounded" />
<xsd:element name="Relativetheme" type="OpenCmsRelativeTheme" minOccurs="1" maxOccurs="unbounded" />
<xsd:element name="Contact" type="OpenCmsContact" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
<xsd:attribute name="language" type="OpenCmsLocale" use="required" />
</xsd:complexType>
<xsd:annotation>
<xsd:appinfo>
<mappings/>
<layouts>
<layout element="TextField" widget="HtmlWidget" configuration="source" />
</layouts>
<validationrules/>
<defaults/>
</xsd:appinfo>
</xsd:annotation>
On random Occasions when opening an index.html of that schema not the HtmlWidget is
used, but the "normal" Html-Input for OpenCmsString elements is used. In Addition the HTML-Content
is shown while having been URLEncoded.
Has anyone expierienced a problem like this or knows how to avoid such a thing?
Where in the Source is it determined which HTML to use when creating the HTML
for editing the content?
Thanks in advance!
Eska