[opencms-dev] Radio Select Widget

Paoletti Corrado c.paoletti at fineco.it
Fri Aug 1 14:37:37 CEST 2025


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> On Behalf Of Atle Enersen via opencms-dev
Sent: venerdì 1 agosto 2025 13:57
To: opencms-dev at opencms.org
Cc: Atle Enersen <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 . It refers to 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