Hallo zusammen,
ich suche eine Möglichkeit einen Parameter in einem CMS_INPUT_COMBOBOX zu setzen und in einem Modul, welches GomIncludeValueProvider und Parameterizable implementiert, auszuwerten.
Bsp.:
Combobox
<CMS_INPUT_COMBOBOX name="sv_slot_name" editable="no" hFill="yes" singleLine="no" useLanguages="no">
<CMS_INCLUDE_OPTIONS type="public">
<NAME>SlotNames</NAME>
<PARAMS>
<PARAM name="test">#item.sv_type.toString()</PARAM>
</PARAMS>
</CMS_INCLUDE_OPTIONS>
<LANGINFOS>
<LANGINFO lang="*" label="Slot"/>
</LANGINFOS>
</CMS_INPUT_COMBOBOX>
Feld zum auslesen
<CMS_INPUT_RADIOBUTTON name="sv_type" allowEmpty="no" hFill="yes" useLanguages="yes">
<ENTRIES>
<ENTRY value="categoryId">
<LANGINFOS>
<LANGINFO lang="*" label="Category ID"/>
</LANGINFOS>
</ENTRY>
<ENTRY value="productId">
<LANGINFOS>
<LANGINFO lang="*" label="Product ID"/>
</LANGINFOS>
</ENTRY>
</ENTRIES>
<LANGINFOS>
<LANGINFO lang="*" label="Identifier" description="How do you want to use this module?"/>
</LANGINFOS>
</CMS_INPUT_RADIOBUTTON>
Modul

meine Erwartung ist, dass ich je nachdem was ich im Radiobutton anklicke in meiner Map categoryId oder productId als Parameter bekomme.
Ich habe probiert:
- #item.sv_type.toString()
- sv_type
- #form.sv_type
- #field.sv_type
- etc
und es steht immer nur der Text drin, also z.B. sv_type, aber nicht der Inhalt der Variable.
In der Community gibt es dazu massig Beiträge, aber alle 2018 und älter.
Ich bin auf FS Version 2020-04
Falls es für diesen (Standard) Anwendungsfall noch immer keine Lösung gibt, verwende ich einfach ein zweites Dropdown und einen zweiten Service.
Gruß
Matthias