流体中的多个optionLabelField

I've got a select field in a fluid template and need two attributes for the optionLabelField. How can I handle this? That doesn't work:

<f:form.select property="person" id="person" options="{persons}" optionLabelField="prename name" />

Thanks, Pete

I would write my own ViewHelper that overwrites the SelectViewHelper from fluid. There you can make it possible that optionLabelField takes a comma seperated list and handles it how you need it.

Developing a custom ViewHelper

You can write your own getter in your model person. Put the name of the getter without "get" prefix (e.g. fullname instead of getFullname) in optionLabelField.