2 Replies Latest reply on Nov 14, 2006 3:15 AM by sherkan777

    Seam 1.1Beta & <s:link...problem!

    marcin777

      Hi!
      I have an application based on Seam 1.0.1 and source code like:

      @DataModel
      private Set<Person> personList;
      @DataModelSelection
      private Person selectedPerson;
      
      @Factory("personList")
      public void createAllPersons() {
       if(personList == null)
       personList = new HashSet<Person>();
      
      <h:dataTable var="person" value="#{personList}">
      <h:column>
      <s:link value="#{person.name}" action="#{personAction.selectPerson}"/>
      </h:column>
      </h:dataTable>
      
      

      personList is in a statefull bean.

      On Jboss Seam 1.0.1 every think works fine, but when i hanged Seam v.1.0.1 to -> v.1.1Beta, application throws error:

      java.lang.NoSuchMethodError: org.jboss.seam.core.Pages.getParameters(Ljava/lang/String;Ljava/util/Set;)Ljava/util/Map;
      org.jboss.seam.ui.HtmlLink.encodeBegin(HtmlLink.java:130)

      I thought problem was in my Set but i hanged him to (List -> Linkedlist()) and nothink changed.

      Can anyone help me where is the bug?