refactorization of the listEdit directive, work in progress
 refactorization of the listEdit directive, work in progress