2 Replies Latest reply on Mar 5, 2009 5:21 PM by fcousin

    Error : could not create converter

    fcousin
      I have trouble with the page parameters. It is very strange, because I managed to the problem by adding the @Name annotation "collaborateur" on my class "Collaborateur".


      First, the error :

      2009-03-05 14:28:01,337 WARN  [org.jboss.seam.navigation.Param] could not create converter for: collaborateurId
      javax.el.PropertyNotFoundException: Target Unreachable, identifier 'collaborateur' resolved to null



      here is the link :


      <s:link     value="Selectionner"
              view="/CollaborateurCV.xhtml"
              propagation="none"
              id="collaborateur"
              action="#{collaborateurCV.selectCV}"\>
                   <f:param name="collaborateurId" value="#{_collaborateur.id}" />
      </s:link>

      The parameter (in CollaborateurCV.page.xml)
              <param name="collaborateurId" value="#{collaborateur.id}" />


      And an extract from the class "Collaborateur" (for the component "collaborateur")

      @Entity
      @Name("collaborateur")  // here is the problem...
      @Table(name = "collaborateur", uniqueConstraints = @UniqueConstraint(columnNames = {
                      "nom", "prenom" }))
              public class Collaborateur {
              private static final long serialVersionUID = 1L;

              // id
              private Integer id;