1 Reply Latest reply on May 8, 2008 5:07 PM by tom_goring

    Seam managed EntityManager and immediate changes in DB

    kooudy

      Hello,


      I have question about seam managed entity manager and immediate changes on entity beans to database through AJAX.


      There is h:inputText on my page with validator and enabled seam support.


      h:outputText countains a property of entity readed from database with seam entity manager - this entity is edited and is in managed state (attached to db).


      My question is how to disable immediate changes to database before submitting form (changes are performed on attached entity through AJAX which checks for validations).


      Schould I detach edited entity? Or another solutions available?


      thanks