Trying to solve this problem for two days without any luck. The problem occur when i try to define a url-mapping in pretty-config.xml that relay on a bean created with Seam
<url-mapping id="test">
<pattern>/test/#{testBean.param}</pattern>
<view-id>/test.faces</view-id>
</url-mapping>
bean source:
package com.web.jsfbean;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Create;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
@Name("testBean")
@Scope(ScopeType.CONVERSATION)
public class Test {
private String param;
@Create
public void init() {
param = "initialized";
}
public String getParam() {
return param;
}
public void setParam(String param) {
this.param = param;
}
}
if i define this bean in faces-config everything works as expected.
Any idea ?
Thanks in advance for any help.
What exactly is the problem you are experiencing? I'm intrigued by this. PrettyFaces should work with Seam. Try posting your question on the users group: http://groups.google.com/group/prettyfaces-users