On 4/18/06, Richard Wallace <[EMAIL PROTECTED]> wrote: > Is the viewId the dynamic page to be included or is it the base page > that includes the dynamic content? My situation is that I have a single > page, /report/default.html, and that is the only view that should ever > be the view root. Within that is all my headers and footers and stuff. > In the content area of that view I have the clay inclusion which uses > the backing bean to determine what to include based on the current > page. So, if I used your method above, would I just always create a > new root view of the /report/default.html view?
The view id is for the base page, so in your case /report/default.html. I have String viewId = FacesContext.getCurrentInstance().getViewRoot().getViewId(); navigate(viewId);