String href;
try
{
if (clientWindow != null && disableClientWindow)
{
clientWindow.disableClientWindowRenderMode(facesContext);
}
// In theory the precedence order to deal with params is this:
// component parameters, navigation-case parameters, view parameters
// getBookmarkableURL deal with this details.
ViewHandler viewHandler = facesContext.getApplication().getViewHandler();