refactoring and fixed MyFaces compatibility (while Mojarra compatibility is currently broken)