Ole Henrik Oftedal
Posts: 0
Joined: Thu Apr 19, 2012 4:52 pm

Map a service to SelectMenu components

If you have a service and want to map it to a SelectMenu component, you can do this visually in the designer but only with the "value" property.

When you do this you will not see the immediate effect on the screen. This is because you must also set the selected index for the component.

I was lucky because the value of the component is equal to the index in my menu.

The idea here is to use the OnSuccess event on my service (after fetching the data)

Example:
I have three SelectMenu components named "InCode1", "InCode2" and "InCode3".

Image

There might be a better solution than this, but this worked for me.

Ole H. Oftedal
http://www.timeflex.no
http://www.timeflex.com

Return to “Issues”