Modifed MainBean as RequestScoped and EditBean as ViewScoped.
Without Validator yet.