[Typo3-dev] itemsProcFunc and selected items
media.res | alex widschwendter
a.widschwendter at mediares.at
Thu Jul 14 09:45:57 CEST 2005
hi daniel,
> I'm writing an extension which is configured via FlexForms. One element
> of the FlexForm is of type 'select', with maxitems > 1. I use
> itemsProcFunc to call an external class method modifying the 'items' array.
>
> This works fine so far, but when I try to save the plugin options in BE,
> the entries under 'Selected:' vanish. However, the selected values are
> stored correctly, so I get a comma separated list of exact the values I
> selected in BE when using pi_getFFvalue() in FE.
>
> Do I have to modify my itemsProcFunc, so it fills in the according
> values in the 'Selected:' list? If so, which parameter holds the
> selected items?
>
> I would be grateful for any information concerning this.
put one item manual in front of your selection and i works - still don't
know why?
<items>
<n0></n0>
</items>
<type>select</type>
<itemsProcFunc>tx_newloginbox_feusers->main</itemsProcFunc>
hth alex
More information about the TYPO3-dev
mailing list