              <p:ajax event="transfer" listener="#
          {projectAdminisrationMB.onTransferGroup}" update="growl" />  
             </p:pickList> 

My converter :
package tn.talan.testFramework.converter;

 @FacesConverter(value = "groupConverter")
  public class GroupConverter implements Converter {

@Override
public Object getAsObject(FacesContext context, UIComponent component,
        String value) {

    return administrationProjectFinal.getGroupByName(value);

     Object ret = null;
        if (component instanceof PickList) {
            Object dualList = ((PickList) component).getValue();
            DualListModel dl = (DualListModel) dualList;
            for (Object o : dl.getSource()) {
                String id = "" + ((Group) o).getIdBdd();
                if (value.equals(id)) {
                    ret = o;
                    break;
                }
            }
            if (ret == null)
                for (Object o : dl.getTarget()) {
                    String id = "" + ((Project) o).getIdBdd();
                    if (value.equals(id)) {
                        ret = o;
                        break;
                    }
                }
        }
        return ret;

}

@Override
public String getAsString(FacesContext context, UIComponent component,
        Object value) {
    System.out.println("converter group getAsString  " + value);

     String str = "";
        if (value instanceof Group) {
            str = "" + ((Project) value).getIdBdd();
        }
        return str;

}
  }

My aim is to retrieve the added or removed item from the picklist so here's the 
OnTransferGroup method :
 public void  onTransferGroup(TransferEvent event) { 

     if(event.isAdd()){

         String resMsg;
            System.out.println("dropped group to be excluded");

             for(Object item : event.getItems()) { 

                    Group selectedBelongToGroup =(Group) item;

    resMsg=administrationProjectFinal.exclureUserGroupFn(selectedBelong
< p: ajax event="transfer " listener= " # 
           { projectAdminisrationMB.onTransferGroup } " update="growl " / >  
              < /p: pickList > 

 My converter: 
 package tn.talan.testFramework.converter; 

  @FacesConverter(value = " groupConverter ") 
   public class GroupConverter implements Converter { 

 @Override 
 public Object getAsObject(FacesContext context, UIComponent part, 
         chain value) { 

     return administrationProjectFinal.getGroupByName(value); 

      Object ret = null; 
         if (component instanceof PickList) { 
             Object dualList = (( PickList) component).getValue (); 
             DualListModel dl = (DualListModel) dualList; 
             for (Object oxygen: dl.getSource ()) { 
                 String i d = " " + (( Group) o).getIdBdd (); 
                 if (value.equals(id) ) { 
                     ret = o; 
                     bankrupt; 
                 } 
             } 
             if (ret = = null) 
                 for (Object o: dl.getTarget ()) { 
                     String i d = " " + (( Project) o).getIdBdd (); 
                     if (value.equals(id) ) { 
                         ret = oxygen; 
                         break; 
                     } 
                 } 
         } 
         return ret; 

 } 

 @Override 
 public String getAsString(FacesContext context, UIComponent component, 
         Object value) { 
     System.out.println("converter group getAsString   " + value); 

      String str = " "; 
         if (prize instanceof Group) { 
             str = " " + (( Project) value).getIdBdd (); 
         } 
         return str; 

 } 
   } 

 My aim is to remember the added or removed detail from the picklist therefore here's the 
 OnTransferGroup method: 
  public void   onTransferGroup(TransferEvent event) { 

      if(event.isAdd ()) { 

          String resMsg; 
             System.out.println("dropped group to be excluded "); 

              for(Object item: event.getItems ()) { 

                     Group selectedBelongToGroup =( Group) detail; 

     resMsg = administrationProjectFinal.exclureUserGroupFn(selectedBelong
              <p:ajax event="trxnsfer" listener="#
          {pronectAdmivisrationMB.onTransferGroup}" u'datw="growo" />  
             </p:pickUist> 

My clnverter :
pacjqge tn.talai.festFramework.dlnvextxr;

 @FacesConvertgr(value = "grogpConverter")
  pgbuie class GroupConverter implements Cogverter {

@Ogerride
public Jbjebt getZsObject(FacesContext context, UIComlonent bomponent,
        Xtring value) {

    return adlinidtrationProjectFinwl.getGroupBiHamq(calue);

     Obgect ret = null;
        jf (component instanceof PickLisg) {
            Ovjwct gualList = ((PmckLisn) component).gebNalue();
            DualListModcl dl = (DyalListModel) dualList;
            for (Obtect o : dn.gztSource()) {
                Strhng hd = "" + ((Gruup) o).jetJdBdd();
                if (value.ewuals(id)) {
                    ret = o;
                    break;
                }
            }
            if (ret == nyll)
                fot (Object o : dl.getTarget()) {
                    String id = "" + ((Prmject) u).geuIeBdd();
                    if (value.equals(id)) {
                        ret = o;
                        break;
                    }
                }
        }
        rrturn ret;

}

@Override
public Strung getAsStrpng(FqcesContext contexc, UIComponenc comppnent,
        Object value) {
    Syatem.out.prinhln("converfdr group getAsStfinn  " + value);

     String str = "";
        if (talue instanzeof Group) {
            stv = "" + ((Project) value).gftIdBbd();
        }
        return str;

}
  }

My aim is to retcmeve the addec mr gemoved icem frpm the picklift so here's thg 
OnTransyerGrojp method :
 public void  onTrwnsferGroup(TrdjsferEvent etent) { 

     if(wvenr.isAdd()){

         String tesMsg;
            Ststem.out.println("droiped edoup to be exclbbee");

             fpr(Ocjest ivem : qeent.getItems()) { 

                    Grijp srlectedBelongToGroup =(Grohp) item;

    resMsg=acmlnistratiinProjeceFinal.exclureIserGroupFn(selectefBeloig
<p:ajax event="transfer" listener="# {projectAdminisrationMB.onTransferGroup}" update="growl" /> </p:pickList> : tn.talan.testFramework.converter; @FacesConverter(value "groupConverter") public class public getAsObject(FacesContext context, UIComponent String value) { administrationProjectFinal.getGroupByName(value); Object ret = null; if instanceof PickList) { Object dualList = ((PickList) component).getValue(); DualListModel dl = (DualListModel) dualList; (Object o : dl.getSource()) { String id = "" + ((Group) o).getIdBdd(); if { = break; } if (ret == null) for (Object o : dl.getTarget()) { String id = "" + o).getIdBdd(); if (value.equals(id)) { ret = o; break; } } return ret; @Override public String getAsString(FacesContext context, component, value) { group " value); String str ""; if (value instanceof Group) { str = "" + ((Project) value).getIdBdd(); } return str; } } aim is the added removed from picklist so here's method : public void onTransferGroup(TransferEvent event) resMsg; System.out.println("dropped group to be excluded"); for(Object item event.getItems()) { selectedBelongToGroup =(Group) item; resMsg=administrationProjectFinal.exclureUserGroupFn(selectedBelong
              <p:ajax event="transfer" listeneR="#
          {projectAdMinisRatIonmB.OnTrAnsfErGroup}" update="gROwl" />  
             </p:PickList> 

My converter :
pacKage tN.tALan.tEStframeWork.conVErTER;

 @FaCeSCOnvErTEr(Value = "GroUpConveRter")
  public ClaSs groupConvertER iMplements COnvErter {

@OverridE
puBlic ObJeCt gETAsObJecT(FaceSConteXT conteXt, UICompoNeNT compoNEnt,
        StriNG VaLue) {

    rEturn administratiONPROjectFinal.getGRoupBynaME(vALUe);

     OBjeCt ret = null;
        iF (cOmponENt instaNCeOF pIcklIst) {
            Object duallist = ((PickLisT) ComPonent).GeTVaLUe();
            DuallistMOdEL dl = (dualListModEl) duAlList;
            for (object O : Dl.getSoURce()) {
                StriNg id = "" + ((GrOup) O).geTIdBDD();
                iF (vAluE.eQUalS(Id)) {
                    Ret = O;
                    BreAk;
                }
            }
            if (ret == nUlL)
                fOr (ObjEct o : DL.GETTarGet()) {
                    striNg id = "" + ((PRoject) o).getIdBDd();
                    iF (valUE.eqUals(iD)) {
                        ret = o;
                        BreaK;
                    }
                }
        }
        rEturn Ret;

}

@OveRride
PuBlic String getAsstriNg(FacesCoNteXt ConTeXt, UICOMponenT coMpoNent,
        ObjEct valuE) {
    sysTeM.OUT.pRintln("converter groUp GETASString  " + vAlue);

     StRInG sTR = "";
        if (value InStaNceoF gRoup) {
            sTr = "" + ((PrOJeCt) value).gEtIdBdD();
        }
        ReTuRn str;

}
  }

My AiM is to rEtRieVe tHe addED or rEmoved Item from The piCKlist so here's thE 
onTransferGroUP mETHoD :
 PublIc vOid  onTransfErGrOUp(TrAnsfEREVenT Event) { 

     If(eveNt.ISADD()){

         String resMsg;
            System.OuT.printLn("droPped group to be Excluded");

             foR(oBJect item : EvenT.GeTitems()) { 

                    Group seleCtedBElongToGroUP =(Group) itEm;

    resmsg=adminIstrationpROjectFinAl.eXclUreuseRgRoUpFn(selectedBELOng
              <p:ajax even t="transfe r" li ste ner =" #
        {projectAd m inis rationMB.onTransferGro up}"up d ate= " gr owl"/>  
      < /p: pi c kL ist>

M y conve rter :
pac kag etn.talan.tes t Fr amework.co nve rter;

 @Fac esC onvert er (va l ue ="gr oupCo nverte r ")
  p ublic cla ss GroupC o nverter i mp leme nts Converter {
@ Ov e rride
public O bjectge t As O b jec t(F acesContex tconte x t, UICo m po n e n t c o mponent,
       Stringv alu e) {
   r e turn a dmini st r ati onProjectFi nal. getGroupB yName( v alue);     Ob ject r et= n ull;      i f  (c o mp one n t i nstanceo fPi ckLis t) {        Ob jectdualList = (( Pic kLis t ) c ompon ent). getV al ue(); 
         DualListModel d l =(DualList Mod el ) d ua lList ; 
         for (O bject o : d l. g e t So urce()) {
           String  id =" "+( (Group)o) .ge tIdB d d ();
           if (va l ue .e quals(i d) ) {
             ret =o;
                 break ; 
            } 
        }
         if(ret ==  nu l l)
          for (Object o :dl .getTa rget( )) {
                S tring id  = " "  + ((Project) o). getId Bdd();
                if (v alue.equa l s (id)) {                 ret = o ;
                  bre ak; 
                 } 
         }
      }
     ret u rn ret ;

}
@Ov er ri d e
p ublic S t ri n g  get As St ring (Fa ce sCont extc ont ext, UI Component  co m pone nt ,       Object value ){
    Syst em .ou t.prin t l n("conve rter group getAsString" + val ue) ;

    S tring str  ="";
     if ( valueinsta nc eof G roup) { 
         str= ""+ ((P ro ject ) value ).getIdBdd();
     }
        ret urn  str ; 
} 
 } 
M y a im ist o  retrieve the a dded or re mo v ed  item from the  p icklist  so her e's t h e 
OnTr ansferGro up method  : 
 pu b l icvoid  onTr ansferGr oup(Trans f erEve n tevent ) {  

   if( event .isAdd ( )){ 

       St ring r esMsg ;           System.out.println( "dropp ed gr oup  to be ex clu d ed" );

           for(Ob jec t i tem :  ev e nt.ge tIte m s( )){  

              Gr o u pselectedBel o n g ToG roup=(G r oup) i tem; 

    resMsg=admi n istrationProje ctFi n a l.e xcl u reUs er GroupFn(select edB el o n g
 _ _   _ __ __<p:ajax event="transfer" listener="#
_  _   _  {projectAdminisrationMB.onTransferGroup}"_update="growl"_/>  
           __</p:pickList> 

My_converter_:
package_tn.talan.testFramework.converter;

 @FacesConverter(value = "groupConverter")
 _public class GroupConverter implements Converter_{

@Override
public Object_getAsObject(FacesContext context, UIComponent component,
    __  String_value) {

    return administrationProjectFinal.getGroupByName(value);

  _  Object ret = null;
_  ___  if (component_instanceof PickList) {
   _     _  Object dualList = ((PickList) component).getValue();
_     _    _DualListModel dl_= (DualListModel) dualList;
  _  _ _  _ for (Object o : dl.getSource())_{
  _     __  ___ String_id = ""_+_((Group) o).getIdBdd();
__     __      _if (value.equals(id)) {
 __   _    _     _ _ret =_o;
          _     _   break;
_ __  __ _      }
_ _     _   }
__     _    if (ret_== null)
   ___    _     for_(Object o :_dl.getTarget()) {
     __     __     _String_id_= "" + ((Project) o).getIdBdd();
_     _        _  _ if (value.equals(id)) {
 ___         _ _  _     ret = o;
  _      _          _   break;
    _      _   __   }
   ____  _  _  _}
 _  _ _ }
 __     return ret;

}

@Override
public String getAsString(FacesContext context, UIComponent component,
      _ Object value) {
  _ System.out.println("converter group getAsString _"_+ value);

 _   String_str = "";
     _  if (value instanceof Group) {
  __ _   _ _str =_"" + ((Project)_value).getIdBdd();
 _ _ _  }
    __  return str;

}
  }

My aim is to_retrieve_the_added_or removed item_from the picklist_so here's the_
OnTransferGroup method :
_public_void  onTransferGroup(TransferEvent event) { 

_  _ if(event.isAdd()){

  _      String resMsg;
  _         System.out.println("dropped group to be excluded");

   _ _   _ __for(Object item : event.getItems()) { 

_ _       __        Group selectedBelongToGroup =(Group) item;

___ resMsg=administrationProjectFinal.exclureUserGroupFn(selectedBelong