[TYPO3-english] extabase - select value as selected.
Patrick Schriner
patrick.schriner at diemedialen.de
Wed May 22 15:39:27 CEST 2013
I don't know if it works in your specific case, but I usually set the
"value" attribute of the <f:form.select> to the right value and that leads
to the correct preselection (might have to try whether it wants model or
uid in your case).
On Wed, 22 May 2013 13:44:39 +0200, Hans-Peter M.
<istbanane at googlemail.com> wrote:
> Hi,
> i have a view that displays the records in a list.
> Now I want to filter the records according to certain categories.
>
> The Code in fluid:
>
> <f:form action="list" name="choose">
> <f:form.select property="category" options="{daten}"
> optionValueField="uid" optionLabelField="name"
> additionalAttributes="{onChange :
> 'document.choose.submit();'}"></f:form.select>
> </f:form>
>
> I want that the appropriate selection of the category is pre-selected.
> (Html code: selected)
> This does not work for me.
> I wonder why?
> Error in the model?
>
>
> regards
> Hans-Peter
>
--
Patrick Schriner
More information about the TYPO3-english
mailing list