10 Replies Latest reply on Aug 15, 2007 5:26 AM by Christian Bauer

    validation and persisting

    Miloslav Vlach Novice

      Hi,

      I have problem with validation on the server side. Let's imagine I change data on the web form and submiting. On the call I decide that combination is wrong and add message to the FacesMessage and return null. But problem is, that some changes are saved to the database.

      Have I to throw some exception or I have to return null only ?

      Thanks Mila