Is it possible to have a combobox in the top bar as an input control, where the choices are calculated dynamically? So far I could not get it to work.
It works fine if the choices are defined at design time. I added an input control to the top bar which stores the value in an attribute of the RegularUser object (let's call that 'Parameter' for now). If I define the Parameter attribute with choices at design time (i.e specified in a list), and check the 'Display choices' at the input control, this works just fine. The Input Control changes to a combobox and I can pick from the pre-defined list. However, when I change the Parameter attribute to dynamic choices, the input control no longer behaves as a combobox. Even though the "Display Choices" option is still checked. It does not seem to make any difference whether the dynamic choices are determined on the basis of existing attribute values (the first option) or determined by query (the second option). In both cases the input control does no longer work as a combobox but turns into a regular text box again.
Am I doing something wrong, or is this not possible? In the latter case, is there another way to achieve the same effect?
I guess that in principle it should be possible to achieve this with a custom HTML form, similar to the left bar content panel in the Library sample application (for the 'Member' VP), but that involves a lot of fiddling around with HTML and custom javascript calls which I am hoping to avoid. Especially since the standard input control functionality seems to do almost what I want except for the dynamic bit.