Announcement

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

    DetailViewer and integer fields with multiple="true"

    We have a datasource with a multi integer-valued field defined like the following.

    Code:
    <field name="someField" type="integer" multiple="true">
        <title>Some multi integer-valued field</title>
        <valueMap>
            <value ID="1">A</value>
            <value ID="2">B</value>
            <value ID="4">C</value>
            <value ID="8">D</value>
        </valueMap>
    </field>
    When we view a record for this datasource using the DetailViewer (something like the snippet shown below), the value appears as the mapped label as expected using the valueMap only if the value is a single value. If the value is not a single value, it shows a comma separated list of integers rather than the mapped labels from the valueMap.

    Code:
    DetailViewer detailView = new DetailViewer();
    detailView.setDataSource(dataSource);
    detailView.setData(new Record[] { record });
    ...
    SmartClient Version: v9.1p_2014-09-24/Pro Deployment (built 2014-09-24)
    FF 24.8.0

    Thanks
    Last edited by stonebranch2; 26 Sep 2014, 04:34. Reason: Fixed wording

    #2
    Hello Isomorphic,
    Do you have an update for this thread?
    Thank you

    Comment


      #3
      This has been assigned and we think we know what the cause is. We'll update as soon as we have it resolved.

      Comment


        #4
        Thanks for the update.
        Regards

        Comment


          #5
          This has been fixed for builds dated October 2 and later.

          Comment


            #6
            Thank you, all is good now.

            Comment

            Working...
            X