Re: Duplicated mapping id

Splash Forums PrettyFaces Users Duplicated mapping id Re: Duplicated mapping id



i want to rephrase my configuration again:

1- i am using PrettyFaces 3.3.0 (through maven 2).

2- i configured the PrettyFaces filter in the web.xml as follows:


<filter-name>Pretty Filter</filter-name>




<filter-name>Pretty Filter</filter-name>






3- i am using spring to create my beans not jsf:

a- UserBean:



@URLMappings(mappings = {

@URLMapping(id = “users”, pattern = “/users”, viewId = “/faces/users.xhtml”),

@URLMapping(id = “add”, pattern = “/add”, viewId = “/faces/add.xhtml”) })

public class UserBean {}

b- LoginBean:



@URLMapping(id = “login”, pattern = “/login”, viewId = “/faces/login.xhtml”)

public class LoginBean {}

4- i don’t have the pretty-faces.config.xml file or any other configuration than mentioned above, maybe i am missing something.

hope that this may help.