private boolean _jspx_meth_html_005flink_005f1( javax.servlet.jsp.tagext.JspTag _jspx_th_logic_005fiterate_005f0, PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // html:link org.apache.struts.taglib.html.LinkTag _jspx_th_html_005flink_005f1 = (org.apache.struts.taglib.html.LinkTag) _005fjspx_005ftagPool_005fhtml_005flink_0026_005fparamProperty_005fparamName_005fparamId_005fpage .get(org.apache.struts.taglib.html.LinkTag.class); _jspx_th_html_005flink_005f1.setPageContext(_jspx_page_context); _jspx_th_html_005flink_005f1.setParent( (javax.servlet.jsp.tagext.Tag) _jspx_th_logic_005fiterate_005f0); // /report/userList.jsp(62,4) name = page type = null reqTime = true required = false fragment = // false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = // null _jspx_th_html_005flink_005f1.setPage("/report/delete.jsp"); // /report/userList.jsp(62,4) name = paramId type = null reqTime = true required = false // fragment = false deferredValue = false expectedTypeName = null deferredMethod = false // methodSignature = null _jspx_th_html_005flink_005f1.setParamId("user_report_id"); // /report/userList.jsp(62,4) name = paramName type = null reqTime = true required = false // fragment = false deferredValue = false expectedTypeName = null deferredMethod = false // methodSignature = null _jspx_th_html_005flink_005f1.setParamName("userReport"); // /report/userList.jsp(62,4) name = paramProperty type = null reqTime = true required = false // fragment = false deferredValue = false expectedTypeName = null deferredMethod = false // methodSignature = null _jspx_th_html_005flink_005f1.setParamProperty("id"); int _jspx_eval_html_005flink_005f1 = _jspx_th_html_005flink_005f1.doStartTag(); if (_jspx_eval_html_005flink_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { if (_jspx_eval_html_005flink_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.pushBody(); _jspx_th_html_005flink_005f1.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out); _jspx_th_html_005flink_005f1.doInitBody(); } do { out.write("\r\n\t\t\t\t\t"); if (_jspx_meth_bean_005fmessage_005f2(_jspx_th_html_005flink_005f1, _jspx_page_context)) return true; out.write("\r\n\t\t\t\t"); int evalDoAfterBody = _jspx_th_html_005flink_005f1.doAfterBody(); if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break; } while (true); if (_jspx_eval_html_005flink_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { out = _jspx_page_context.popBody(); } } if (_jspx_th_html_005flink_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fhtml_005flink_0026_005fparamProperty_005fparamName_005fparamId_005fpage .reuse(_jspx_th_html_005flink_005f1); return true; } _005fjspx_005ftagPool_005fhtml_005flink_0026_005fparamProperty_005fparamName_005fparamId_005fpage .reuse(_jspx_th_html_005flink_005f1); return false; }
/** * Overriding method of the heart of the matter. Gets the relative property and leaves the rest up * to the original tag implementation. Sweet. * * @return int JSP continuation directive. This is in the hands of the super class. */ public int doStartTag() throws JspException { origName = super.getName(); origProperty = super.getProperty(); origParamProperty = super.getParamProperty(); /* decide the incoming options. Always two there are */ boolean doProperty = (origProperty != null && origProperty.length() > 0); boolean doParam = (origParamProperty != null && origParamProperty.length() > 0); // request HttpServletRequest request = (HttpServletRequest) pageContext.getRequest(); boolean hasName = (getName() != null && getName().trim().length() > 0); String currentName; if (hasName) { currentName = getName(); } else { currentName = NestedPropertyHelper.getCurrentName(request, this); } // set the bean name super.setName(currentName); // set property details if (doProperty && !hasName) { super.setProperty(NestedPropertyHelper.getAdjustedProperty(request, origProperty)); } // do the param property details if (doParam) { super.setName(null); super.setParamName(currentName); super.setParamProperty(NestedPropertyHelper.getAdjustedProperty(request, origParamProperty)); } /* do the tag */ return super.doStartTag(); }