// JAVASCRIPT ?
if (actionName.startsWith("javascript:"))
return actionName;
// Init URL Provider
UrlProvider urlProvider = new ComponentUrlProvider(this, params);
urlProvider.setHttpServletRequest(request);
urlProvider.setHttpServletResponse(response);
urlProvider.setUrlRenderer(urlRenderer);
// urlProvider.setPortletUrlType(urlType);
urlProvider.setAction(actionName);
// render URL
StringWriter sw = new StringWriter();
urlRenderer.beforeRenderUrl(urlProvider);
urlRenderer.renderUrl(sw, urlProvider);
String url = sw.toString();