link add event to renderOne method in collection view generated by generator