// cause problems if the ViewHandler is wrapped
String actionEncodedViewId = getViewHandler(context).getActionURL(context, viewId);
ExternalContext externalContext = context.getExternalContext();
String bookmarkEncodedURL = externalContext.encodeBookmarkableURL(actionEncodedViewId, viewParameters);
return externalContext.encodeActionURL(bookmarkEncodedURL);
}
@Override
public String getRedirectURL(FacesContext context, String viewId,
Map<String, List<String>> parameters, boolean includeViewParams)