Announcement

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

    SelectItem rendering issues

    Hello there! We are experiencing some strange behavior with this component.

    We have a loop like this:
    Code:
    for(Attribute a : rule.getAttributes){
    SelectItem target = (SelectItem)form.getItem(a.getName());
    target.setValue(a.getId());
    }
    We have around 15 of those components. But, instead of getting the displayField selected, we get the currentid value ...

    Clicking on the component, it goes to the appropriate display selection.

    We have also noticed that if instead of a loop we manually add a few values, they are shown as expected.

    I tried to ask target.redraw(), but did not work

    Any ideas?
Working...
X