alkacon / opencms-core

The Java open source content management system by Alkacon Software
http://www.opencms.org
GNU Lesser General Public License v2.1
525 stars 576 forks source link

Help text not shown when using display widget #755

Closed veggie4ever closed 1 year ago

veggie4ever commented 1 year ago

When using the display widget in an xsd schema, the help text for content editors is not shown. Widget is configured as follows:

...
        <xsd:element name="Text" type="OpenCmsString" />
...
        <Setting>
                    <PropertyName>Text</PropertyName>
                    <DisplayName>%(key.label.UserComment.Text)</DisplayName>
                    <Widget>display</Widget>
                    <Search>false</Search>
                </Setting>

The help text is correctly entered in the i18n file because it is shown when removing the display config of the widget. I think help texts should not be suppressed only because a field is readonly.

veggie4ever commented 1 year ago

Sorry, guys. My fault. There was a minor error in the declaration of the language key. Help texts work as intended for display widget setting.