[opencms-dev] Radio Select Widget
Atle Enersen
atle.enersen at gmail.com
Fri Aug 1 14:58:24 CEST 2025
Helllo, Paoletti, and thanks for the reply :-)
The xsd:element is ok, that one I got, but I do not find any example on like this:
<Setting>
<PropertyName>FooterVariant</PropertyName>
<Widget>radio</Widget>
<WidgetConfig><![CDATA[options=default:Standard|blogg:Blogg|overblikket:Overblikket|tur:Tur]]></WidgetConfig>
<Default>default</Default>
</Setting>
Best regards/Vennlig hilsen, Atle Enersen
--
Tel.: +47 48 06 31 71
Paoletti Corrado <c.paoletti at fineco.it <mailto:c.paoletti at fineco.it>> skrev følgende den 01.08.2025, 14:37:
FinecoBank S.p.A. - Internal Use Only
Hi Atle Enersen,
I'll give you an example:
<xsd:element name="Icon" type="OpenCmsString" />
<layout element="Icon" widget="RadioSelectWidget" configuration=" public:Solo pubblica|private:Solo privata|both*:Pubblica e Privata " />
The * after last option stands for default choise;
Note that options are showed from the last one to the first so in my example you'll see
° Pubblica e Privata
° Solo privata
° Solo pubblica
Hope to be useful.
Corrado
From: opencms-dev <opencms-dev-bounces at opencms.org <mailto:opencms-dev-bounces at opencms.org>> On Behalf Of Atle Enersen via opencms-dev
Sent: venerdì 1 agosto 2025 13:57
To: opencms-dev at opencms.org <mailto:opencms-dev at opencms.org>
Cc: Atle Enersen <atle.enersen at gmail.com <mailto:atle.enersen at gmail.com>>
Subject: [opencms-dev] Radio Select Widget
Hello.
I consulted the documentation and found this https://documentation.opencms.org/opencms-documentation/template-development/content-editor-configuration/widget-configuration/index.html#select-widget-configuration-0b1b7f70 <https://documentation.opencms.org/opencms-documentation/template-development/content-editor-configuration/widget-configuration/index.html#select-widget-configuration-0b1b7f70> . It refers to https://documentation.opencms.org/opencms-documentation/template-development/content-editor-configuration/widget-configuration/index.html#select-widget-configuration-0b1b7f70 <https://documentation.opencms.org/opencms-documentation/template-development/content-editor-configuration/widget-configuration/index.html#select-widget-configuration-0b1b7f70> but that does not exist...
Does anyone have an example for the XSD on a radio button configuration with four elements?
Best regards/Vennlig hilsen, Atle Enersen
--
Tel.: +47 48 06 31 71
More information about the opencms-dev
mailing list