JComponent (RadComponent component, String value, InplaceContext inplaceContext) { RadComponent[] components = collectFilteredComponents(component); // components [0] = null (<none>) myCbx.setModel(new DefaultComboBoxModel(components)); myOldValue = value; if (value == null || myOldValue.length() == 0) { myCbx.setSelectedIndex(0); } else { for(int i=1; i<components.length; i++) { if (components [i].getId().equals(value)) { myCbx.setSelectedIndex(i); break; } } } return myCbx; }