private String convertEntryToOutcome(ExternalContext externalContext, ViewConfigDescriptor entry)
{
View viewMetaData = entry.getMetaData(View.class).iterator().next();
boolean performRedirect = View.NavigationMode.REDIRECT.equals(viewMetaData.navigation());
boolean includeViewParameters = View.ViewParameterMode.INCLUDE.equals(viewMetaData.viewParams());
StringBuilder result = new StringBuilder(entry.getViewId());
if (performRedirect)