0 Replies Latest reply on Oct 13, 2005 5:19 AM by AlexH

    how to intercept entity flushing

    AlexH Newbie

      Hi,

      I'am a newbie on Seam and EJB. my seam appli work find jsut this pb occurs :

      I try to change an entity property in a converstional context.
      So in my JSF view, I have 2 buttons : OK and Cancel

      OK work fine because the entity is immediately flushing (update).

      But the cancel button doesnt work because I cannot intercept the update process of the entity.

      Is the solution is to create an clone of the entity in a scope EVENT, change parameters in the view, and copy parameter in entity which is persistent in Conversation scope? Hum, is not a good design ?

      I have a misunderstand !
      I dont post code because i think is a trivial pb !

      Thx for your help