Answered: Problem setting record to panel from controller

Answered: Problem setting record to panel from controller

Hi,

I work with MVC.
I have a navigationview with a list. when you press the disclose button, an event is fired. the chosen record is passed with the event.

within the controller, I create a detailsview (this is a Panel), I add the record and then I push this detailsview onto the navigationview. the detailsview has fields which names correspond with the names from the model.

the problem is that I see the detailsview but the fields are empty.
The record isn't empty within the controller.

The problem is that the fields of the selectfield have a different name than 'value' and 'text'.
So when I tried to set a different value, it couldn't match with anything from the options in selectfield,
so it just showed the first one.