i have mapping like this:
@URLMapping(id = "edituser", pattern = "/edituser/#{ id: userBean.userId}", viewId = "/faces/pages/users/editUser.xhtml")
and i want to redirect to it from an action method, so i tried the following:
return "pretty:edituser/" + userObj.getId();
but it didn't work, it reloads current page, please advise, thanks.