Announcement

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

    Dynamic value map problem

    Run the testcase (build 06-07-11). Click on the dropdown and you will see a value map with values that are longer than the field itself. Now click on the Change Value Map button. Click on the dropdown again. You'll notice that the dropdown values have changed to something shorter but the width has not changed. Is there any way to prevent this from happening? I would like the list to grow in width when it needs to and go back to original width if the value map has changed.

    Code:
    isc.Button.create({
        title: "Change Value Map",
        width: 120,
        left: 190,
        top: 45,
        click : function () {
    
               testForm.setValueMap("testDropDown",{"8":"bbbbbbb","7":"aaaaa"});  
    
    testForm.redraw();
        }
    });
    
    
    isc.HLayout.create({
    ID :"HL",top:200,
    members: [
    (isc.DynamicForm.create({ID:"testForm",
    width: 500,
    showEdges: true,
    numCols: 4,
    fields: [
    
    {name: "testDropDown",
    type: "select",
    valueMap: {"8":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","7":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"},
    align: "right"
    }
    
    ]
    }))]});

    #2
    We see the issue you describe -- this is something we should be handling in the framework. One of our engineers is taking a look at why this isn't working.

    Comment


      #3
      Fixed. This will show up in the next 8.x nightly build.

      Comment


        #4
        Any possibility of a patch? We are not ready to upgrade to 8.1

        Comment


          #5
          We may be able to offer you a patch or show you a workaround.
          Which release version would this be for?

          Comment


            #6
            Nightly build 06-17-2011 Power Edition

            Comment


              #7
              We don't generally patch nightly builds unless special arrangements have been made - it definitely makes sense to move to 8.1 now, as relative to that build date, almost entirely fixes have gone in. Also, there are now nightlies available of the forthcoming 8.1.1 release that likewise have fixes only.

              Comment


                #8
                We tried to upgrade to 8.1 but it will require quite a bit of digging to figure out why all our application UI crash. This specific application is already in production or will be in the next couple of days. Even a workaround for now is fine.

                Comment


                  #9
                  Sorry, we can't reasonably be expected to patch a cosmetic problem against a nightly build in this scenario. Please keep working on your 8.1 upgrade and let us know if you find anything that points to a framework problem.

                  Comment

                  Working...
                  X