1 2 Previous Next 16 Replies Latest reply on Jul 25, 2006 1:11 AM by baz Go to original post
      • 15. Re: @Begin and @End
        gavin.king

        What I decided to do was make it instantiate a new instance if the id is null. This is the most useful behavior in crud-style screens. OK with you?

        • 16. Re: @Begin and @End
          baz

          Hello,
          after determining that with the current CVS you have to have specify idClass

           <component name="bazProject" class="org.jboss.seam.core.ManagedHibernateEntity">
           <property name="entityClass">de.bafz.lims.model.Project</property>
           <property name="session">#{bazDatabase}</property>
           <property name="id">#{bazProjectID}</property>
           <property name="idClass">java.lang.String</property>
           </component>
          

          it works for me.
          In my case, i do not need the new instance. But i can imagine usecases where this behaviour is appreciated.
          Ciao,
          Carsten

          1 2 Previous Next