@Override public int doStartTag() throws JspException { Object obj = pageContext.getRequest().getAttribute(Constants.PORTLET_RESPONSE); if ((obj == null) || !(obj instanceof MimeResponse)) { throw new JspException("Could not obtain MimeResponse to create the URL."); } MimeResponse resp = (MimeResponse) obj; ActionURL aurl = null; if (isCopyCurrentRenderParameters() == true) { aurl = resp.createActionURL(Copy.ALL); } else { aurl = resp.createActionURL(Copy.NONE); } rparams = aurl.getRenderParameters(); aparams = aurl.getActionParameters(); setUrl(aurl); handlePMandWS(); handleDefaultEscapeXML(); handleSecureFlag(); return EVAL_BODY_INCLUDE; }
urlTag.addParameter(getName(), getValue()); } else { ((ActionURLTag362)urlTag).addRenderParameter(getName(), getValue());