*
* The reason for this is that when redirecting to these bookmarkable pages, we need to
* have the url encoded correctly because we can't rely on the browser to interpret the
* unencoded url correctly.
*/
encoder.addValue(WebRequestCodingStrategy.BOOKMARKABLE_PAGE_PARAMETER_NAME,
pageMapName + Component.PATH_SEPARATOR + pageClass.getName());
}
// Get page parameters
final PageParameters parameters = requestTarget.getPageParameters();