[opencms-dev] SelectorWidget, option with empty value

Paoletti Corrado c.paoletti at fineco.it
Wed Mar 15 18:24:56 CET 2017


Hi all,
in a schema I use a SelectorWidget defined, in the <layouts> node, in this manner:

<layout element="Target" widget="SelectorWidget" configuration="default:(Default)|_blank:Nuova finestra|_self:Stessa pagina" />

I would like to assign empty value to the first option. I tried:

- configuration=":(Default)|_blank:Nuova finestra|_self:Stessa pagina" />
- configuration="value='' option="(Default)"|_blank:Nuova finestra|_self:Stessa pagina" />

but each of them goes wrong.

In this moment I assign a dummy value ("default") to first option but I don't like it.

Kind regards,

Corrado



More information about the opencms-dev mailing list