1 Reply Latest reply on Oct 15, 2010 6:43 AM by omid pourhadi

    target unreachable, modalPanel selection

    omid pourhadi Apprentice

      I'm newbie in seam
      I've designed an entity (movie) that has many one to one relationship with another
      Entity (Member)
      i have a register form that user selects a member and fill the movie attribute but
      i can't bind movieAction.movie.producerId
      i've got this exception



      movie target unrechable 





      can any one help me how i can implement this form ?
      I would appreciate if somebody suggest a better way


      movieActionBean.java



      @In
      @Out
      Movie movie;
      //getter/setter movie
      public void registerMovie(){
      em.persist(movie);
      }
      


      Movie.java



      @OneToOne
      Member producerId;
      @OneToOne
      Member directorId;
      //getter / setter
      



      movie.xhtml
      there is a modalPanel that user selects member and set component member to movie registration form



      <h:inputText value="#{movieAction.movie.producerId}" />