/** * When a radio button is selected, its associated patient list is activated. */ public void onCheck$rgrpLists() { Radio radio = rgrpLists.getSelectedItem(); if (radio == null) { radio = rgrpLists.getItemAtIndex(0); rgrpLists.setSelectedItem(radio); } IPatientList list = (IPatientList) radio.getAttribute(ATTR_PATIENT_LIST); setActiveList(list); }
final Object value = subset.getElementAt(index); renderer.render(item, value, index); Object v = item.getAttribute(Attributes.MODEL_RENDERAS); if (v != null) //a new item is created to replace the existent one item = (Radio) v;