Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    optionDataSource issues

    Im using SmartClient Version: v8.2p_2012-04-06/PowerEdition Deployment (built 2012-04-06)

    I have defined a field as so


    Here is the entity its referring to as I use schemaBean to generate the ds


    For some reason when I select values, some of them put the name in the list while others put the code in the list. I have attached an image to demonstrate.

    Have I done something wrong, or have I found a bug?
    Attached Files
    Last edited by jpappalardo; 24 Sep 2014, 09:41.

    #2
    One thing that would cause this is if the FormItem.fetchMissingValues behavior is getting bad responses from your server. This will cause DSRequest to load just a single display value for a single code value - if you see requests like this in the RPC tab of the Developer Console and the display value is missing from the response, that would cause this.

    A 'shotgun' approach would be to turn off data paging for this list, which is probably fine for a list of countries. You can do this via setting dataFetchMode:"basic" via pickListProperties.

    Comment

    Working...
    X