Migrated to Prime Faces
Fixed person variable scope.