[jboss-user] [JBoss Seam] - Seam 1.1Beta & <s:link...problem!

marcin777 do-not-reply at jboss.com
Mon Nov 13 16:07:36 EST 2006


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?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985614#3985614

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985614



More information about the jboss-user mailing list