using AddRemove compenent with jpa
hi, i want to use addRemove component, and i have a problem to get selected items:
List<DomCRC> doms = null;
DomCRCDao domDao= new DomCRCDao();
Iterator iterator= domCrcSelectList.getSelectedItems(); //domCrcSelectedList is the AddRemove Compenent
while(iterator.hasNext()){
long idDom= ((Integer)iterator.next()).longValue();
doms.add(domDao.findDomCRC(idDom));
doms.add((DomCRC)iterator.next());
}
I'm stuck because of that, plz help