public void clickPersitAdherent(ActionEvent e){
this.sysAdherent.setSysSite(this.sysSite);
this.sysAdherent.setSysContrat(this.sysContrat);
SysAdherEvent sysAdherEvent;
SysAdherActivite sysAdherActivite;
DataModel<SysAdherEvent> dataAdherEvent=this.citems.getDataAdherEvents();
for(int i=0;i<dataAdherEvent.getRowCount();i++){
dataAdherEvent.setRowIndex(i);
sysAdherEvent=dataAdherEvent.getRowData();
if(sysAdherEvent.isSelected()){
sysAdherEvent.setSysAdherent(this.sysAdherent);
sysAdherEvent.getId().setIdAdherent(this.sysAdherent.getIdAdherent());
this.sysAdherent.getSysAdherEvents().add(sysAdherEvent);
}
}
DataModel<SysAdherActivite> dataAdherActivite=this.citems.getDataAdherActivite();
for(int i=0;i<dataAdherActivite.getRowCount();i++){
dataAdherActivite.setRowIndex(i);
sysAdherActivite=dataAdherActivite.getRowData();
if(sysAdherActivite.isSelected()){
sysAdherActivite.setSysAdherent(this.sysAdherent);
sysAdherActivite.getId().setIdAdherent(this.sysAdherent.getIdAdherent());
this.sysAdherent.getSysAdherActivites().add(sysAdherActivite);
}
}
Resultat result=this.iSysAdherentM.persistAdherent(this.sysAdherent);
if(result.isSucceed()){