I seem to be getting warning "No ViewControllerMapper has been configured for this application".
This started happening in the portlet environment, not in plain servlet environment. First question, should I have to set up a view controller mapper instance in the first place because shouldn't Shale pick the default if I don't override? e.g org.apache.shale.view.impl.DefaultViewControllerMapper Second question, I looked at the code for ShaleViewHandler. The getViewControllerMapper method does the following: context.getExternalContext().getApplicationMap().get(ShaleConstants.VIEW_MAPPER) Am I wrong or should this be doing something like context.getApplication().getVariableResolver().resolveVariable(facesContext, ShaleConstants.VIEW_MAPPER) That way I can override the view controller mapper in my faces-config.xml. Right now I am getting null back even though I define it in faces-config.xml under application scope and I think it may be because it is not going through the variable resolver.