1 Reply Latest reply on May 8, 2008 6:50 AM by matt.drees

    ManagedEntityIdentityInterceptor

    sergeypk2

      Can somebody explain in detail (in more than one or two words) what is the purpose of ManagedEntityIdentityInterceptor?


      I keep running into problems because of it, maybe also because I'm not trying to use Seam The Tutorial Way but actually make it do what I want. MEII constantly gets in the way. For example, I can't use <h:dataTable value="#{someComponent.someDataModelProperty}"> because of it since by the time JSF gets to display the data model, it's already emptied. Or MEII stuffs the wrapped data of the datamodel under the same name as the data model itself, causing ClassCastException in UISelection.getValue().


      Why am I supposed to endure all this weirdness? What's the benefit?

        • 1. Re: ManagedEntityIdentityInterceptor
          matt.drees

          I don't have a good explanation for ManagedEntityIdentityInterceptor, except that I think it helps you avoid having disconnected entities laying around when you serialize/deserialize your session.


          As far as DataModel issues, I made a jira issue about it.


          Feel free to vote for it.  If you have time to put together a unit test and/or a patch, it'll probably get fixed sooner.