Hi,
I already searched the forum for a question like mine, but i didn't found any help so i thought it might be good to open a new topic.
Anyway - following problem: I've built a Web Dynpro application which consists of a search and a detail view. In the detail view, there are two DropDownByKey Elements holding the values "days" (key 0) and "hours" (key 1), cultivated through a SimpleType which holds this enumeration.
When i select values in my DropDownByKey and hit the save Button of my application, everything works fine and the correct values get written in my DB. When i now navigate back to the search view and call the previously save record, all values are shown correct - but my two DropDownByKey Elements aren't set on the right Elements.
The context works fine, both value attributes hold the values which were previously saved into the DB.
My question: When i have a variable bound to a DropDownByKey, which is bound to a SimpleType Enumeration and from the DB i get a "0" for those field, why isn't the DropDownByKey set correctly and shows a blank instead of "days". And how can in solve the problem.
Thanks in advance for your help.
Regards,
Patrick