Announcement

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

    ComboBoxItem setOptionOperationId

    I have a ComboBoxItem with an option data source and an option operation id. When I type into the combo box and a "look ahead" fetch is sent to the server, the operation id I specified ("fetchRef") is used as expected and all is good. If however I click on the arrow to open up the combo box and do the query in there, the regular "fetch" operation is called and not the fetch operation id I set (in the example below the fetch operation id is "fetchRef").

    Code:
    lookupComboBox = new ComboBoxItem();
    lookupComboBox.setOptionDataSource(DataSource.getDataSource("task"));
    lookupComboBox.setOptionOperationId("fetchRef");
    Am I doing something wrong or missing something?

    Thanks!

    #2
    I found the problem. I am using a pickListProperties in which I did not set the fetch operation on it to the same value ("fetchRef")

    Comment

    Working...
    X