private void includeGetParameters() { if(!(DispatcherUtils.isPortletSupportActive() && PortletActionContext.isPortletRequest())) { String query = extractQueryString(); mergeRequestParameters(value, parameters, UrlHelper.parseQueryString(query)); } }
if(DispatcherUtils.isPortletSupportActive() && PortletActionContext.isPortletRequest()) { result = PortletUrlHelper.buildUrl(action, namespace, parameters, portletUrlType, portletMode, windowState); if(DispatcherUtils.isPortletSupportActive() && PortletActionContext.isPortletRequest()) { result = PortletUrlHelper.buildResourceUrl(value, parameters);
/** * Form component determine the its HTML element id as follows:- * <ol> * <li>if an 'id' attribute is specified.</li> * <li>if an 'action' attribute is specified, it will be used as the id.</li> * </ol> */ protected void populateComponentHtmlId(Form form) { boolean isAjax = "ajax".equalsIgnoreCase(this.theme); String action = null; if (this.action != null) { // if it isn't specified, we'll make somethig up action = findString(this.action); } if (id != null) { addParameter("id", escape(id)); } if (DispatcherUtils.isPortletSupportActive() && PortletActionContext.isPortletRequest()) { evaluateExtraParamsPortletRequest(namespace, action); } else { String namespace = determineNamespace(this.namespace, getStack(), request); evaluateExtraParamsServletRequest(action, namespace, isAjax); } }