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

    Error : could not create converter

    Florence Cousin Newbie
      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"
                   <f:param name="collaborateurId" value="#{_collaborateur.id}" />

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

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

      @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;