Announcement

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

    SelectItem optionDataSource problem

    SelectItem in DynamicForm has optionDataSource attached as follows:
    Code:
    final SelectItem field = new SelectItem();
    field.setName(dslf.getName());
    field.setTitle(dslf.getTitle());
    field.setDisplayField(dslf.displayFieldName);
    field.setValueField(dslf.valueFieldName);
    field.setOptionDataSource(dslf.optionDataSource);
    field.setAutoFetchData(false);
    When some record is opened inside DynamicForm then SelectItem will fetch display value from server as expected and that works fine.

    Problem occurs when that same optionDataSource used in SelectItem is edited later in some ListGrid then display value of SelectItem remains old besides it is changed in optionDataSource by ListGrid.

    It sounds like SelectItem is using old record to display.

    It is interesting that in drop down list of SelectItem new value is shown as expected and even if I select that item from the list, display value of SelectItem goes back to old value.

    Any help?
    Thanks.
    BR//Marije

    #2
    Isomorphic, can I expect some support on this issue form you? Please, just let me should I wait or I must find other solution?
    thanks a lot.

    Comment


      #3
      You are not marked as having support. If this is incorrect, please call the sales line to fix it.

      Comment


        #4
        Thank you for response.
        You are right, I do not have support. I was hoping that anyway I could get some help from your side but if it is not possible than it is OK.

        Thanks again.

        Comment

        Working...
        X