예제 #1
0
 private boolean _jspx_meth_sec_005fauthorize_005f1(
     javax.servlet.jsp.PageContext _jspx_page_context) throws java.lang.Throwable {
   javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
   javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
   //  sec:authorize
   org.springframework.security.taglibs.authz.JspAuthorizeTag _jspx_th_sec_005fauthorize_005f1 =
       (org.springframework.security.taglibs.authz.JspAuthorizeTag)
           _005fjspx_005ftagPool_005fsec_005fauthorize_0026_005faccess.get(
               org.springframework.security.taglibs.authz.JspAuthorizeTag.class);
   _jspx_th_sec_005fauthorize_005f1.setPageContext(_jspx_page_context);
   _jspx_th_sec_005fauthorize_005f1.setParent(null);
   // /WEB-INF/views/welcome.jsp(29,2) name = access type = null reqTime = true required = false
   // fragment = false deferredValue = false expectedTypeName = null deferredMethod = false
   // methodSignature = null
   _jspx_th_sec_005fauthorize_005f1.setAccess("hasRole('ADMIN') and hasRole('DBA')");
   int _jspx_eval_sec_005fauthorize_005f1 = _jspx_th_sec_005fauthorize_005f1.doStartTag();
   if (_jspx_eval_sec_005fauthorize_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     out.write("\r\n");
     out.write(
         "\t\t\t<label><a href=\"#\">Start backup</a> | This part is visible only to one who is both ADMIN & DBA</label>\r\n");
     out.write("\t\t");
   }
   if (_jspx_th_sec_005fauthorize_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
     _005fjspx_005ftagPool_005fsec_005fauthorize_0026_005faccess.reuse(
         _jspx_th_sec_005fauthorize_005f1);
     return true;
   }
   _005fjspx_005ftagPool_005fsec_005fauthorize_0026_005faccess.reuse(
       _jspx_th_sec_005fauthorize_005f1);
   return false;
 }
예제 #2
0
 private boolean _jspx_meth_c_005fotherwise_005f0(
     javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fchoose_005f0,
     javax.servlet.jsp.PageContext _jspx_page_context,
     int[] _jspx_push_body_count_c_005fforEach_005f0)
     throws java.lang.Throwable {
   javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
   javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
   //  c:otherwise
   org.apache.taglibs.standard.tag.common.core.OtherwiseTag _jspx_th_c_005fotherwise_005f0 =
       (org.apache.taglibs.standard.tag.common.core.OtherwiseTag)
           _005fjspx_005ftagPool_005fc_005fotherwise.get(
               org.apache.taglibs.standard.tag.common.core.OtherwiseTag.class);
   _jspx_th_c_005fotherwise_005f0.setPageContext(_jspx_page_context);
   _jspx_th_c_005fotherwise_005f0.setParent(
       (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f0);
   int _jspx_eval_c_005fotherwise_005f0 = _jspx_th_c_005fotherwise_005f0.doStartTag();
   if (_jspx_eval_c_005fotherwise_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     do {
       out.write("\n");
       out.write("\t\t\t\t\t\t\t\t\t\tNo\n");
       out.write("\t\t\t\t\t\t\t\t\t\t");
       int evalDoAfterBody = _jspx_th_c_005fotherwise_005f0.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
   }
   if (_jspx_th_c_005fotherwise_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
     _005fjspx_005ftagPool_005fc_005fotherwise.reuse(_jspx_th_c_005fotherwise_005f0);
     throw new javax.servlet.jsp.SkipPageException();
   }
   _005fjspx_005ftagPool_005fc_005fotherwise.reuse(_jspx_th_c_005fotherwise_005f0);
   return false;
 }
 private boolean _jspx_meth_html_select_0(
     javax.servlet.jsp.tagext.Tag _jspx_th_html_form_0, javax.servlet.jsp.PageContext pageContext)
     throws Throwable {
   JspWriter out = pageContext.getOut();
   /* ----  html:select ---- */
   org.apache.struts.taglib.html.SelectTag _jspx_th_html_select_0 =
       (org.apache.struts.taglib.html.SelectTag)
           _jspx_tagPool_html_select_property.get(org.apache.struts.taglib.html.SelectTag.class);
   _jspx_th_html_select_0.setPageContext(pageContext);
   _jspx_th_html_select_0.setParent(_jspx_th_html_form_0);
   _jspx_th_html_select_0.setProperty("interval");
   int _jspx_eval_html_select_0 = _jspx_th_html_select_0.doStartTag();
   if (_jspx_eval_html_select_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     if (_jspx_eval_html_select_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
       javax.servlet.jsp.tagext.BodyContent _bc = pageContext.pushBody();
       out = _bc;
       _jspx_th_html_select_0.setBodyContent(_bc);
       _jspx_th_html_select_0.doInitBody();
     }
     do {
       out.write("\n                    ");
       if (_jspx_meth_html_options_0(_jspx_th_html_select_0, pageContext)) return true;
       out.write("\n                ");
       int evalDoAfterBody = _jspx_th_html_select_0.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
     if (_jspx_eval_html_select_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
       out = pageContext.popBody();
   }
   if (_jspx_th_html_select_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return true;
   _jspx_tagPool_html_select_property.reuse(_jspx_th_html_select_0);
   return false;
 }
  /**
   * Render observation.
   *
   * @return return result code
   */
  public int doStartTag() throws JspException {
    try {
      final JspWriter out = pageContext.getOut();
      if (birthdate != null || !requiresBirthdate()) {
        try {
          if (showValue != null && showValue) {
            writeNumericValue(out);
            if (showClassification != null && showClassification) {
              out.write(" (");
              writeClassificationValue(out);
              out.write(")");
            }
          } else if (showClassification != null && showClassification) {
            writeClassificationValue(out);
          }
        } catch (NumberFormatException nfe) {
          out.write("[Invalid Data]");
        }
      } else {
        out.write(noEnteredDataText);
      }
    } catch (IOException e) {
      log.error("Unable to generate chart servlet url", e);
    }

    return EVAL_BODY_BUFFERED;
  }
예제 #5
0
 private boolean _jspx_meth_c_005fotherwise_005f0(
     javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fchoose_005f0,
     javax.servlet.jsp.PageContext _jspx_page_context)
     throws java.lang.Throwable {
   javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
   javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
   //  c:otherwise
   org.apache.taglibs.standard.tag.common.core.OtherwiseTag _jspx_th_c_005fotherwise_005f0 =
       (org.apache.taglibs.standard.tag.common.core.OtherwiseTag)
           _005fjspx_005ftagPool_005fc_005fotherwise.get(
               org.apache.taglibs.standard.tag.common.core.OtherwiseTag.class);
   _jspx_th_c_005fotherwise_005f0.setPageContext(_jspx_page_context);
   _jspx_th_c_005fotherwise_005f0.setParent(
       (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f0);
   int _jspx_eval_c_005fotherwise_005f0 = _jspx_th_c_005fotherwise_005f0.doStartTag();
   if (_jspx_eval_c_005fotherwise_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     do {
       out.write("\n");
       out.write("              <li><a href=\"/login.jsp\">로그인</a></li>\n");
       out.write("              <li><a href=\"/users/createform\">회원가입</a></li> \n");
       out.write("              ");
       int evalDoAfterBody = _jspx_th_c_005fotherwise_005f0.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
   }
   if (_jspx_th_c_005fotherwise_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
     _005fjspx_005ftagPool_005fc_005fotherwise.reuse(_jspx_th_c_005fotherwise_005f0);
     return true;
   }
   _005fjspx_005ftagPool_005fc_005fotherwise.reuse(_jspx_th_c_005fotherwise_005f0);
   return false;
 }
  private void _jspService(
      javax.servlet.http.HttpServletRequest request,
      javax.servlet.http.HttpServletResponse response,
      com.caucho.jsp.PageContextImpl pageContext,
      javax.servlet.ServletContext application,
      javax.servlet.http.HttpSession session,
      TagState _jsp_state)
      throws Throwable {
    javax.servlet.jsp.JspWriter out = pageContext.getOut();
    final javax.el.ELContext _jsp_env = pageContext.getELContext();
    javax.servlet.ServletConfig config = getServletConfig();
    javax.servlet.Servlet page = this;
    javax.servlet.jsp.tagext.JspTag _jsp_parent_tag = null;
    com.caucho.jsp.PageContextImpl _jsp_parentContext = pageContext;
    response.setContentType("text/html");
    response.setCharacterEncoding("utf-8");

    out.write(_jsp_string0, 0, _jsp_string0.length);
    if (false == session.getAttribute("loggedin")) {
      response.sendRedirect("login.jsp");
    } else if (null == session.getAttribute("loggedin")) {
      response.sendRedirect("login.jsp");
    }
    out.write(_jsp_string1, 0, _jsp_string1.length);
  }
 private boolean _jspx_meth_s_if_0(PageContext _jspx_page_context) throws Throwable {
   PageContext pageContext = _jspx_page_context;
   JspWriter out = _jspx_page_context.getOut();
   //  s:if
   org.apache.struts2.views.jsp.IfTag _jspx_th_s_if_0 =
       (org.apache.struts2.views.jsp.IfTag)
           _jspx_tagPool_s_if_test.get(org.apache.struts2.views.jsp.IfTag.class);
   _jspx_th_s_if_0.setPageContext(_jspx_page_context);
   _jspx_th_s_if_0.setParent(null);
   _jspx_th_s_if_0.setTest("#attribute.required");
   int _jspx_eval_s_if_0 = _jspx_th_s_if_0.doStartTag();
   if (_jspx_eval_s_if_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     if (_jspx_eval_s_if_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
       out = _jspx_page_context.pushBody();
       _jspx_th_s_if_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
       _jspx_th_s_if_0.doInitBody();
     }
     do {
       out.write("&#32;<span class=\"icon fa fa-asterisk text-muted\" title=\"");
       if (_jspx_meth_s_text_0(
           (javax.servlet.jsp.tagext.JspTag) _jspx_th_s_if_0, _jspx_page_context)) return true;
       out.write("\"></span>");
       int evalDoAfterBody = _jspx_th_s_if_0.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
     if (_jspx_eval_s_if_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
       out = _jspx_page_context.popBody();
   }
   if (_jspx_th_s_if_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
     _jspx_tagPool_s_if_test.reuse(_jspx_th_s_if_0);
     return true;
   }
   _jspx_tagPool_s_if_test.reuse(_jspx_th_s_if_0);
   return false;
 }
예제 #8
0
  public int doEndTag() throws JspException {
    try {
      List<ValidationMetaData> rules = new ArrayList<ValidationMetaData>();
      if (commandName != null) {
        rules.addAll(getValidationMetaDataForCommand());
      }
      String bodyString = null;
      if (bodyContent != null) {
        // body can be a JSON object, specifying date formats, or other extra configuration info
        bodyString = FileCopyUtils.copyToString(bodyContent.getReader());
        bodyString = bodyString.trim().replaceAll("\\s{2,}", " ");
      }

      JspWriter out = pageContext.getOut();
      out.write("<script type=\"text/javascript\" id=\"");
      out.write(commandName + "JSR303JSValidator");
      out.write("\">");
      generator.generateJavaScript(
          out,
          commandName,
          true,
          bodyString,
          rules,
          new MessageSourceAccessor(
              getRequestContext().getWebApplicationContext(), getRequestContext().getLocale()));
      out.write("</script>");
      return EVAL_PAGE;
    } catch (IOException e) {
      throw new JspException("Could not write validation rules", e);
    }
  }
예제 #9
0
 private boolean _jspx_meth_c_005fif_005f1(
     javax.servlet.jsp.tagext.JspTag _jspx_th_shiro_005fhasPermission_005f0,
     PageContext _jspx_page_context,
     int[] _jspx_push_body_count_c_005fforEach_005f0)
     throws Throwable {
   PageContext pageContext = _jspx_page_context;
   JspWriter out = _jspx_page_context.getOut();
   //  c:if
   org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f1 =
       (org.apache.taglibs.standard.tag.rt.core.IfTag)
           _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(
               org.apache.taglibs.standard.tag.rt.core.IfTag.class);
   _jspx_th_c_005fif_005f1.setPageContext(_jspx_page_context);
   _jspx_th_c_005fif_005f1.setParent(
       (javax.servlet.jsp.tagext.Tag) _jspx_th_shiro_005fhasPermission_005f0);
   // /WEB-INF/views/modules/cms/commentList.jsp(52,5) name = test type = boolean reqTime = true
   // required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod
   // = false methodSignature = null
   _jspx_th_c_005fif_005f1.setTest(
       ((java.lang.Boolean)
               org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                   "${comment.delFlag eq '2'}",
                   java.lang.Boolean.class,
                   (PageContext) _jspx_page_context,
                   null,
                   false))
           .booleanValue());
   int _jspx_eval_c_005fif_005f1 = _jspx_th_c_005fif_005f1.doStartTag();
   if (_jspx_eval_c_005fif_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     do {
       out.write("<a href=\"");
       out.write(
           (java.lang.String)
               org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                   "${ctx}",
                   java.lang.String.class,
                   (PageContext) _jspx_page_context,
                   null,
                   false));
       out.write("/cms/comment/save?id=");
       out.write(
           (java.lang.String)
               org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                   "${comment.id}",
                   java.lang.String.class,
                   (PageContext) _jspx_page_context,
                   null,
                   false));
       out.write("\">审核通过</a>");
       int evalDoAfterBody = _jspx_th_c_005fif_005f1.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
   }
   if (_jspx_th_c_005fif_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
     _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f1);
     return true;
   }
   _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f1);
   return false;
 }
 private boolean _jspx_meth_c_if_1(javax.servlet.jsp.PageContext pageContext) throws Throwable {
   JspWriter out = pageContext.getOut();
   HttpServletRequest request = (HttpServletRequest) pageContext.getRequest();
   HttpServletResponse response = (HttpServletResponse) pageContext.getResponse();
   /* ----  c:if ---- */
   org.apache.taglibs.standard.tag.el.core.IfTag _jspx_th_c_if_1 =
       (org.apache.taglibs.standard.tag.el.core.IfTag)
           _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.el.core.IfTag.class);
   _jspx_th_c_if_1.setPageContext(pageContext);
   _jspx_th_c_if_1.setParent(null);
   _jspx_th_c_if_1.setTest("${param.orgAdminPopup}");
   int _jspx_eval_c_if_1 = _jspx_th_c_if_1.doStartTag();
   if (_jspx_eval_c_if_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     do {
       out.write("\n    ");
       JspRuntimeLibrary.include(
           request,
           response,
           "/includes/orgAdmin_header.jsp"
               + "?"
               + "help="
               + "monitoringadmin%2Fusers%2FWTHelp_User.html",
           out,
           false);
       out.write("\n");
       int evalDoAfterBody = _jspx_th_c_if_1.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
   }
   if (_jspx_th_c_if_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return true;
   _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_1);
   return false;
 }
예제 #11
0
 private boolean _jspx_meth_c_005fotherwise_005f0(
     javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fchoose_005f0, PageContext _jspx_page_context)
     throws Throwable {
   PageContext pageContext = _jspx_page_context;
   JspWriter out = _jspx_page_context.getOut();
   //  c:otherwise
   org.apache.taglibs.standard.tag.common.core.OtherwiseTag _jspx_th_c_005fotherwise_005f0 =
       (org.apache.taglibs.standard.tag.common.core.OtherwiseTag)
           _005fjspx_005ftagPool_005fc_005fotherwise.get(
               org.apache.taglibs.standard.tag.common.core.OtherwiseTag.class);
   _jspx_th_c_005fotherwise_005f0.setPageContext(_jspx_page_context);
   _jspx_th_c_005fotherwise_005f0.setParent(
       (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f0);
   int _jspx_eval_c_005fotherwise_005f0 = _jspx_th_c_005fotherwise_005f0.doStartTag();
   if (_jspx_eval_c_005fotherwise_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     do {
       out.write("\r\n\t\t\t\t<tr class=\"listA\">\r\n\t\t\t\t");
       if (_jspx_meth_c_005fset_005f0(_jspx_th_c_005fotherwise_005f0, _jspx_page_context))
         return true;
       out.write("\r\n\t\t\t");
       int evalDoAfterBody = _jspx_th_c_005fotherwise_005f0.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
   }
   if (_jspx_th_c_005fotherwise_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
     _005fjspx_005ftagPool_005fc_005fotherwise.reuse(_jspx_th_c_005fotherwise_005f0);
     return true;
   }
   _005fjspx_005ftagPool_005fc_005fotherwise.reuse(_jspx_th_c_005fotherwise_005f0);
   return false;
 }
예제 #12
0
 private boolean _jspx_meth_s_005flink_005f0(
     javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fforEach_005f0,
     PageContext _jspx_page_context,
     int[] _jspx_push_body_count_c_005fforEach_005f0)
     throws Throwable {
   PageContext pageContext = _jspx_page_context;
   JspWriter out = _jspx_page_context.getOut();
   //  s:link
   org.seasar.struts.taglib.S2LinkTag _jspx_th_s_005flink_005f0 =
       (org.seasar.struts.taglib.S2LinkTag)
           _005fjspx_005ftagPool_005fs_005flink_0026_005fhref.get(
               org.seasar.struts.taglib.S2LinkTag.class);
   _jspx_th_s_005flink_005f0.setPageContext(_jspx_page_context);
   _jspx_th_s_005flink_005f0.setParent(
       (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fforEach_005f0);
   // /WEB-INF/view/search/searchResult.jsp(47,5) name = href type = null reqTime = true required =
   // false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false
   // methodSignature = null
   _jspx_th_s_005flink_005f0.setHref(
       (java.lang.String)
           org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
               "/userpage?userni=${search.userid}",
               java.lang.String.class,
               (PageContext) _jspx_page_context,
               null,
               false));
   int _jspx_eval_s_005flink_005f0 = _jspx_th_s_005flink_005f0.doStartTag();
   if (_jspx_eval_s_005flink_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     if (_jspx_eval_s_005flink_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
       out = _jspx_page_context.pushBody();
       _jspx_push_body_count_c_005fforEach_005f0[0]++;
       _jspx_th_s_005flink_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
       _jspx_th_s_005flink_005f0.doInitBody();
     }
     do {
       out.write(' ');
       out.write(
           (java.lang.String)
               org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                   "${search.usernick}",
                   java.lang.String.class,
                   (PageContext) _jspx_page_context,
                   null,
                   false));
       out.write(' ');
       int evalDoAfterBody = _jspx_th_s_005flink_005f0.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
     if (_jspx_eval_s_005flink_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
       out = _jspx_page_context.popBody();
       _jspx_push_body_count_c_005fforEach_005f0[0]--;
     }
   }
   if (_jspx_th_s_005flink_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
     _005fjspx_005ftagPool_005fs_005flink_0026_005fhref.reuse(_jspx_th_s_005flink_005f0);
     return true;
   }
   _005fjspx_005ftagPool_005fs_005flink_0026_005fhref.reuse(_jspx_th_s_005flink_005f0);
   return false;
 }
  private void writeFolderTree(JspWriter out) throws IOException {
    List<GroupWorkspaceProjectPageFolder> folders =
        new LinkedList<GroupWorkspaceProjectPageFolder>(groupWorkspaceProjectPage.getRootFolders());
    Collections.sort(folders, new AscendingNameComparator());

    List<GroupWorkspaceProjectPageFile> files =
        new LinkedList<GroupWorkspaceProjectPageFile>(groupWorkspaceProjectPage.getRootFiles());
    Collections.sort(files, new AscendingNameComparator());

    List<GroupWorkspaceProjectPagePublication> publications =
        new LinkedList<GroupWorkspaceProjectPagePublication>(
            groupWorkspaceProjectPage.getRootPublications());
    Collections.sort(publications, new AscendingNameComparator());

    List<GroupWorkspaceProjectPageInstitutionalItem> items =
        new LinkedList<GroupWorkspaceProjectPageInstitutionalItem>(
            groupWorkspaceProjectPage.getRootInstitutionalItems());
    Collections.sort(items, new AscendingNameComparator());

    List<GroupWorkspaceProjectPageFileSystemLink> links =
        new LinkedList<GroupWorkspaceProjectPageFileSystemLink>(
            groupWorkspaceProjectPage.getRootLinks());
    Collections.sort(links, new AscendingNameComparator());

    out.write("<ul>");
    for (GroupWorkspaceProjectPageFolder folder : folders) {
      writeFolder(folder, out);
    }

    writeFiles(files, out);
    writePublications(publications, out);
    writeItems(items, out);
    writeLinks(links, out);
    out.write("</ul>");
  }
예제 #14
0
 private boolean _jspx_meth_c_005fforEach_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
     throws java.lang.Throwable {
   javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
   javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
   //  c:forEach
   org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_005fforEach_005f0 =
       (org.apache.taglibs.standard.tag.rt.core.ForEachTag)
           _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems.get(
               org.apache.taglibs.standard.tag.rt.core.ForEachTag.class);
   _jspx_th_c_005fforEach_005f0.setPageContext(_jspx_page_context);
   _jspx_th_c_005fforEach_005f0.setParent(null);
   // /userpage/ContentView.jsp(181,2) name = var type = java.lang.String reqTime = false required
   // = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false
   // methodSignature = null
   _jspx_th_c_005fforEach_005f0.setVar("photo");
   // /userpage/ContentView.jsp(181,2) name = items type = javax.el.ValueExpression reqTime = true
   // required = false fragment = false deferredValue = true expectedTypeName = java.lang.Object
   // deferredMethod = false methodSignature = null
   _jspx_th_c_005fforEach_005f0.setItems(
       new org.apache.jasper.el.JspValueExpression(
               "/userpage/ContentView.jsp(181,2) '${content.photolist}'",
               _jsp_getExpressionFactory()
                   .createValueExpression(
                       _jspx_page_context.getELContext(),
                       "${content.photolist}",
                       java.lang.Object.class))
           .getValue(_jspx_page_context.getELContext()));
   int[] _jspx_push_body_count_c_005fforEach_005f0 = new int[] {0};
   try {
     int _jspx_eval_c_005fforEach_005f0 = _jspx_th_c_005fforEach_005f0.doStartTag();
     if (_jspx_eval_c_005fforEach_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
       do {
         out.write("\r\n");
         out.write("\t\t<img id = \"img\" src='");
         out.write(
             (java.lang.String)
                 org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                     "${photo.serverpath }",
                     java.lang.String.class,
                     (javax.servlet.jsp.PageContext) _jspx_page_context,
                     null));
         out.write("' width=\"320px\" height=\"240\"/>\r\n");
         out.write("\t\t");
         int evalDoAfterBody = _jspx_th_c_005fforEach_005f0.doAfterBody();
         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
       } while (true);
     }
     if (_jspx_th_c_005fforEach_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
       return true;
     }
   } catch (java.lang.Throwable _jspx_exception) {
     while (_jspx_push_body_count_c_005fforEach_005f0[0]-- > 0) out = _jspx_page_context.popBody();
     _jspx_th_c_005fforEach_005f0.doCatch(_jspx_exception);
   } finally {
     _jspx_th_c_005fforEach_005f0.doFinally();
     _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems.reuse(
         _jspx_th_c_005fforEach_005f0);
   }
   return false;
 }
예제 #15
0
 private boolean _jspx_meth_c_005fif_005f0(PageContext _jspx_page_context) throws Throwable {
   PageContext pageContext = _jspx_page_context;
   JspWriter out = _jspx_page_context.getOut();
   //  c:if
   org.apache.taglibs.standard.tag.el.core.IfTag _jspx_th_c_005fif_005f0 =
       (org.apache.taglibs.standard.tag.el.core.IfTag)
           _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(
               org.apache.taglibs.standard.tag.el.core.IfTag.class);
   _jspx_th_c_005fif_005f0.setPageContext(_jspx_page_context);
   _jspx_th_c_005fif_005f0.setParent(null);
   // /createUser.jsp(16,3) name = test type = java.lang.String reqTime = false required = true
   // fragment = false deferredValue = false expectedTypeName = null deferredMethod = false
   // methodSignature = null
   _jspx_th_c_005fif_005f0.setTest("${not empty message}");
   int _jspx_eval_c_005fif_005f0 = _jspx_th_c_005fif_005f0.doStartTag();
   if (_jspx_eval_c_005fif_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     do {
       out.write("\n");
       out.write("\t\t\t<div id=\"message\">");
       if (_jspx_meth_c_005fout_005f0(_jspx_th_c_005fif_005f0, _jspx_page_context)) return true;
       out.write("</div>\t\n");
       out.write("\t\t ");
       int evalDoAfterBody = _jspx_th_c_005fif_005f0.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
   }
   if (_jspx_th_c_005fif_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
     _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0);
     return true;
   }
   _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0);
   return false;
 }
예제 #16
0
 public int doEndTag() throws JspException {
   JspWriter writer = pageContext.getOut();
   if (label != null) {
     try {
       writer.write("<div class='control-group'><label class='control-label'>");
       writer.write(label);
       writer.write("</label><div class='controls'>");
     } catch (IOException e) {
       if (LOG.isInfoEnabled()) {
         LOG.info("Could not print out value '" + label + "'", e);
       }
     }
   }
   component.end(writer, getBody());
   if (label != null) {
     try {
       writer.write("</div></div>");
     } catch (IOException e) {
       if (LOG.isInfoEnabled()) {
         LOG.info("Could not print out value '" + label + "'", e);
       }
     }
   }
   component = null;
   return EVAL_PAGE;
 }
 private boolean _jspx_meth_c_otherwise_2(
     javax.servlet.jsp.tagext.Tag _jspx_th_c_choose_2,
     javax.servlet.jsp.PageContext pageContext,
     int[] _jspx_push_body_count_c_forEach_0)
     throws Throwable {
   JspWriter out = pageContext.getOut();
   /* ----  c:otherwise ---- */
   org.apache.taglibs.standard.tag.common.core.OtherwiseTag _jspx_th_c_otherwise_2 =
       (org.apache.taglibs.standard.tag.common.core.OtherwiseTag)
           _jspx_tagPool_c_otherwise.get(
               org.apache.taglibs.standard.tag.common.core.OtherwiseTag.class);
   _jspx_th_c_otherwise_2.setPageContext(pageContext);
   _jspx_th_c_otherwise_2.setParent(_jspx_th_c_choose_2);
   int _jspx_eval_c_otherwise_2 = _jspx_th_c_otherwise_2.doStartTag();
   if (_jspx_eval_c_otherwise_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     do {
       out.write("\n\t\t\t\t\t\t\t\t\t");
       out.write("<span class=\"error\">");
       if (_jspx_meth_fmt_message_11(
           _jspx_th_c_otherwise_2, pageContext, _jspx_push_body_count_c_forEach_0)) return true;
       out.write("</span>\n\t\t\t\t\t\t\t\t");
       int evalDoAfterBody = _jspx_th_c_otherwise_2.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
   }
   if (_jspx_th_c_otherwise_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return true;
   _jspx_tagPool_c_otherwise.reuse(_jspx_th_c_otherwise_2);
   return false;
 }
 private boolean _jspx_meth_c_when_2(
     javax.servlet.jsp.tagext.Tag _jspx_th_c_choose_2,
     javax.servlet.jsp.PageContext pageContext,
     int[] _jspx_push_body_count_c_forEach_0)
     throws Throwable {
   JspWriter out = pageContext.getOut();
   /* ----  c:when ---- */
   org.apache.taglibs.standard.tag.el.core.WhenTag _jspx_th_c_when_2 =
       (org.apache.taglibs.standard.tag.el.core.WhenTag)
           _jspx_tagPool_c_when_test.get(org.apache.taglibs.standard.tag.el.core.WhenTag.class);
   _jspx_th_c_when_2.setPageContext(pageContext);
   _jspx_th_c_when_2.setParent(_jspx_th_c_choose_2);
   _jspx_th_c_when_2.setTest("${empty resultitem.queryResult.columnResultsInError}");
   int _jspx_eval_c_when_2 = _jspx_th_c_when_2.doStartTag();
   if (_jspx_eval_c_when_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     do {
       out.write("\n\t                \t\t\t\t");
       if (_jspx_meth_fmt_message_10(
           _jspx_th_c_when_2, pageContext, _jspx_push_body_count_c_forEach_0)) return true;
       out.write("\n\t                    \t\t");
       int evalDoAfterBody = _jspx_th_c_when_2.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
   }
   if (_jspx_th_c_when_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return true;
   _jspx_tagPool_c_when_test.reuse(_jspx_th_c_when_2);
   return false;
 }
예제 #19
0
 private void LoadMenu2(String menuparentid) {
   HttpServletRequest request = (HttpServletRequest) pageContext.getRequest();
   HttpSession session = request.getSession();
   String contextPath = request.getContextPath();
   int userable = ((LogonForm) session.getAttribute("logonuser")).getUserable();
   JspWriter jspwriter = pageContext.getOut();
   String selectmenu2 = (String) session.getAttribute("selectmenu2");
   if (selectmenu2 == null) selectmenu2 = "";
   ArrayList menulist2 = new ArrayList();
   String sql =
       "select * from "
           + Content.TB_MENU
           + " where "
           + Content.MENUPARENTID
           + "='"
           + menuparentid
           + "' and "
           + Content.MENUJIBIE
           + "='2' and "
           + Content.USERABLE
           + " <= "
           + userable
           + " order by "
           + Content.MENUORDER;
   DB db = new DB();
   menulist2 = db.getmenulist(sql);
   try {
     if (menulist2 != null && menulist2.size() != 0) {
       jspwriter.write(
           "<tr><td align='center' colspan='2' style='padding-top:5;padding-bottom:5;padding-left:5;padding-right:5' background='"
               + contextPath
               + "/image/menu2b.jpg'><table border='0' width='187' cellpadding='0' cellspacing='1' bordercolor='#6DB0CB' rules='none'>");
       for (int i = 0; i < menulist2.size(); i++) {
         MenuSigle menu2sigle = (MenuSigle) menulist2.get(i);
         if (selectmenu2.equals((menu2sigle).getMenuid())) {
           jspwriter.write(
               "<tr bgcolor='#FFFCED'><td height='28' style='text-indent:20' valign='bottom' nowrap>◆<b>&nbsp;<a href='"
                   + contextPath
                   + menu2sigle.getMenuaction()
                   + "'>"
                   + menu2sigle.getMenuname()
                   + "</b></td></tr>");
           session.setAttribute("pagepath", menu2sigle.getMenuaction());
           LoadMenu3(menu2sigle.getMenuid());
         } else {
           jspwriter.write(
               "<tr bgcolor='#FFFCED'><td height='28' style='text-indent:20' valign='bottom' nowrap>◆&nbsp;<a href='"
                   + contextPath
                   + menu2sigle.getMenuaction()
                   + "'>"
                   + menu2sigle.getMenuname()
                   + "</a></td></tr>");
         }
       }
       jspwriter.write("</table></td></tr>");
     }
   } catch (IOException e) {
     e.printStackTrace();
   }
 }
 private boolean _jspx_meth_html_html_0(javax.servlet.jsp.PageContext pageContext)
     throws Throwable {
   JspWriter out = pageContext.getOut();
   /* ----  html:html ---- */
   org.apache.struts.taglib.html.HtmlTag _jspx_th_html_html_0 =
       (org.apache.struts.taglib.html.HtmlTag)
           _jspx_tagPool_html_html.get(org.apache.struts.taglib.html.HtmlTag.class);
   _jspx_th_html_html_0.setPageContext(pageContext);
   _jspx_th_html_html_0.setParent(null);
   int _jspx_eval_html_html_0 = _jspx_th_html_html_0.doStartTag();
   if (_jspx_eval_html_html_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     do {
       out.write("\n");
       out.write("<head>\n    ");
       out.write("<title>");
       if (_jspx_meth_fmt_message_0(_jspx_th_html_html_0, pageContext)) return true;
       out.write("</title>\n    ");
       out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"");
       if (_jspx_meth_c_out_0(_jspx_th_html_html_0, pageContext)) return true;
       out.write("css/default.css\" />\n\n");
       out.write("</head>\n");
       out.write("<body>\n\n");
       if (_jspx_meth_html_form_0(_jspx_th_html_html_0, pageContext)) return true;
       out.write("\n\n");
       out.write("</body>\n");
       int evalDoAfterBody = _jspx_th_html_html_0.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
   }
   if (_jspx_th_html_html_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return true;
   _jspx_tagPool_html_html.reuse(_jspx_th_html_html_0);
   return false;
 }
예제 #21
0
 private boolean _jspx_meth_tiles_005fput_005f1(
     javax.servlet.jsp.tagext.JspTag _jspx_th_tiles_005finsert_005f1,
     PageContext _jspx_page_context)
     throws Throwable {
   PageContext pageContext = _jspx_page_context;
   JspWriter out = _jspx_page_context.getOut();
   //  tiles:put
   org.apache.struts.taglib.tiles.PutTag _jspx_th_tiles_005fput_005f1 =
       (org.apache.struts.taglib.tiles.PutTag)
           _005fjspx_005ftagPool_005ftiles_005fput_0026_005ftype_005fname.get(
               org.apache.struts.taglib.tiles.PutTag.class);
   _jspx_th_tiles_005fput_005f1.setPageContext(_jspx_page_context);
   _jspx_th_tiles_005fput_005f1.setParent(
       (javax.servlet.jsp.tagext.Tag) _jspx_th_tiles_005finsert_005f1);
   // /WEB-INF/view/search/searchResult.jsp(30,2) name = name type = java.lang.String reqTime =
   // false required = false fragment = false deferredValue = false expectedTypeName = null
   // deferredMethod = false methodSignature = null
   _jspx_th_tiles_005fput_005f1.setName("content");
   // /WEB-INF/view/search/searchResult.jsp(30,2) name = type type = java.lang.String reqTime =
   // false required = false fragment = false deferredValue = false expectedTypeName = null
   // deferredMethod = false methodSignature = null
   _jspx_th_tiles_005fput_005f1.setType("string");
   int _jspx_eval_tiles_005fput_005f1 = _jspx_th_tiles_005fput_005f1.doStartTag();
   if (_jspx_eval_tiles_005fput_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     if (_jspx_eval_tiles_005fput_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
       out = _jspx_page_context.pushBody();
       _jspx_th_tiles_005fput_005f1.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
       _jspx_th_tiles_005fput_005f1.doInitBody();
     }
     do {
       out.write("\r\n");
       out.write("\r\n");
       out.write("\t\t");
       if (_jspx_meth_c_005fif_005f0(_jspx_th_tiles_005fput_005f1, _jspx_page_context))
         return true;
       out.write("\r\n");
       out.write("\r\n");
       out.write("\t\t");
       if (_jspx_meth_c_005fif_005f1(_jspx_th_tiles_005fput_005f1, _jspx_page_context))
         return true;
       out.write('\r');
       out.write('\n');
       int evalDoAfterBody = _jspx_th_tiles_005fput_005f1.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
     if (_jspx_eval_tiles_005fput_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
       out = _jspx_page_context.popBody();
     }
   }
   if (_jspx_th_tiles_005fput_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
     _005fjspx_005ftagPool_005ftiles_005fput_0026_005ftype_005fname.reuse(
         _jspx_th_tiles_005fput_005f1);
     return true;
   }
   _005fjspx_005ftagPool_005ftiles_005fput_0026_005ftype_005fname.reuse(
       _jspx_th_tiles_005fput_005f1);
   return false;
 }
예제 #22
0
 private void LoadMenu3(String menuparentid) {
   HttpServletRequest request = (HttpServletRequest) pageContext.getRequest();
   HttpSession session = request.getSession();
   String contextPath = request.getContextPath();
   int userable = ((LogonForm) session.getAttribute("logonuser")).getUserable();
   JspWriter jspwriter = pageContext.getOut();
   String selectmenu3 = (String) session.getAttribute("selectmenu3");
   if (selectmenu3 == null) selectmenu3 = "";
   ArrayList menulist3 = new ArrayList();
   String sql =
       "select * from "
           + Content.TB_MENU
           + " where "
           + Content.MENUPARENTID
           + "='"
           + menuparentid
           + "' and "
           + Content.MENUJIBIE
           + "='3' and "
           + Content.USERABLE
           + "<="
           + userable
           + " order by "
           + Content.MENUORDER;
   DB db = new DB();
   menulist3 = db.getmenulist(sql);
   try {
     if (menulist3 == null || menulist3.size() == 0) {
     } else {
       jspwriter.write(
           "<tr><td align='center' nowrap><table width='100%' border='0' cellpadding='0' cellspacing='0'>");
       for (int i = 0; i < menulist3.size(); i++) {
         MenuSigle menu3sigle = (MenuSigle) menulist3.get(i);
         if (selectmenu3.equals((menu3sigle).getMenuid())) {
           jspwriter.write(
               "<tr bgcolor='#F6FF94'><td height='30' valign='bottom' style='text-indent:37' nowrap>√<b><a href='"
                   + contextPath
                   + menu3sigle.getMenuaction()
                   + "'>"
                   + menu3sigle.getMenuname()
                   + "</b></td></tr>");
           session.setAttribute("pagepath", menu3sigle.getMenuaction());
         } else {
           jspwriter.write(
               "<tr bgcolor='#F6FF94'><td height='30' valign='bottom' style='text-indent:37' nowrap>√<a href='"
                   + contextPath
                   + menu3sigle.getMenuaction()
                   + "'>"
                   + menu3sigle.getMenuname()
                   + "</a></td></tr>");
         }
       }
       jspwriter.write("</table></td></tr>");
     }
   } catch (IOException e) {
     e.printStackTrace();
   }
 }
예제 #23
0
 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;
 }
예제 #24
0
  public void _jspService(
      final javax.servlet.http.HttpServletRequest request,
      final javax.servlet.http.HttpServletResponse response)
      throws java.io.IOException, javax.servlet.ServletException {

    final javax.servlet.jsp.PageContext pageContext;
    javax.servlet.http.HttpSession session = null;
    final javax.servlet.ServletContext application;
    final javax.servlet.ServletConfig config;
    javax.servlet.jsp.JspWriter out = null;
    final java.lang.Object page = this;
    javax.servlet.jsp.JspWriter _jspx_out = null;
    javax.servlet.jsp.PageContext _jspx_page_context = null;

    try {
      response.setContentType("text/html; charset=ISO-8859-1");
      pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\r\n");
      out.write(
          "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\r\n");
      out.write("<html>\r\n");
      out.write("<head>\r\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\">\r\n");
      out.write("<title>Insert title here</title>\r\n");
      out.write("</head>\r\n");
      out.write("<body>\r\n");
      out.println("date");
      out.write("\r\n");
      out.write("\r\n");
      out.write("</body>\r\n");
      out.write("</html>");
    } catch (java.lang.Throwable t) {
      if (!(t instanceof javax.servlet.jsp.SkipPageException)) {
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try {
            if (response.isCommitted()) {
              out.flush();
            } else {
              out.clearBuffer();
            }
          } catch (java.io.IOException e) {
          }
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
        else throw new ServletException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
예제 #25
0
 private boolean _jspx_meth_c_005fforEach_005f0(PageContext _jspx_page_context) throws Throwable {
   PageContext pageContext = _jspx_page_context;
   JspWriter out = _jspx_page_context.getOut();
   //  c:forEach
   org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_005fforEach_005f0 =
       (org.apache.taglibs.standard.tag.rt.core.ForEachTag)
           _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems.get(
               org.apache.taglibs.standard.tag.rt.core.ForEachTag.class);
   _jspx_th_c_005fforEach_005f0.setPageContext(_jspx_page_context);
   _jspx_th_c_005fforEach_005f0.setParent(null);
   // /WEB-INF/pages/CustomerSuccess.jsp(31,6) name = items type = java.lang.Object reqTime = true
   // required = false fragment = false deferredValue = false expectedTypeName = null
   // deferredMethod = false methodSignature = null
   _jspx_th_c_005fforEach_005f0.setItems(
       (java.lang.Object)
           org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
               "${customer.favFramework}",
               java.lang.Object.class,
               (PageContext) _jspx_page_context,
               null,
               false));
   // /WEB-INF/pages/CustomerSuccess.jsp(31,6) name = var type = java.lang.String reqTime = false
   // required = false fragment = false deferredValue = false expectedTypeName = null
   // deferredMethod = false methodSignature = null
   _jspx_th_c_005fforEach_005f0.setVar("current");
   int[] _jspx_push_body_count_c_005fforEach_005f0 = new int[] {0};
   try {
     int _jspx_eval_c_005fforEach_005f0 = _jspx_th_c_005fforEach_005f0.doStartTag();
     if (_jspx_eval_c_005fforEach_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
       do {
         out.write("\r\n");
         out.write("   [");
         if (_jspx_meth_c_005fout_005f0(
             _jspx_th_c_005fforEach_005f0,
             _jspx_page_context,
             _jspx_push_body_count_c_005fforEach_005f0)) return true;
         out.write(']');
         out.write('\r');
         out.write('\n');
         int evalDoAfterBody = _jspx_th_c_005fforEach_005f0.doAfterBody();
         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
       } while (true);
     }
     if (_jspx_th_c_005fforEach_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
       return true;
     }
   } catch (Throwable _jspx_exception) {
     while (_jspx_push_body_count_c_005fforEach_005f0[0]-- > 0) out = _jspx_page_context.popBody();
     _jspx_th_c_005fforEach_005f0.doCatch(_jspx_exception);
   } finally {
     _jspx_th_c_005fforEach_005f0.doFinally();
     _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems.reuse(
         _jspx_th_c_005fforEach_005f0);
   }
   return false;
 }
예제 #26
0
 public boolean invoke0(JspWriter out) throws Throwable {
   out.write("\r\n  <br/>\r\n  <span class=\"bigTitle\">");
   if (_jspx_meth_fmt_message_0(
       (javax.servlet.jsp.tagext.JspTag) _jspx_parent, _jspx_page_context)) return true;
   out.write("</span><br/>\r\n  <br/>\r\n  ");
   if (_jspx_meth_fmt_message_1(
       (javax.servlet.jsp.tagext.JspTag) _jspx_parent, _jspx_page_context)) return true;
   out.write("\r\n  <br/>\r\n");
   return false;
 }
예제 #27
0
 private boolean _jspx_meth_c_forEach_0(PageContext _jspx_page_context) throws Throwable {
   PageContext pageContext = _jspx_page_context;
   JspWriter out = _jspx_page_context.getOut();
   //  c:forEach
   org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_0 =
       (org.apache.taglibs.standard.tag.rt.core.ForEachTag)
           _jspx_tagPool_c_forEach_var_items.get(
               org.apache.taglibs.standard.tag.rt.core.ForEachTag.class);
   _jspx_th_c_forEach_0.setPageContext(_jspx_page_context);
   _jspx_th_c_forEach_0.setParent(null);
   _jspx_th_c_forEach_0.setItems(
       (java.lang.Object)
           org.apache.jasper.runtime.PageContextImpl.evaluateExpression(
               "${requestScope.empList}",
               java.lang.Object.class,
               (PageContext) _jspx_page_context,
               null));
   _jspx_th_c_forEach_0.setVar("emp");
   int[] _jspx_push_body_count_c_forEach_0 = new int[] {0};
   try {
     int _jspx_eval_c_forEach_0 = _jspx_th_c_forEach_0.doStartTag();
     if (_jspx_eval_c_forEach_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
       do {
         out.write("\n");
         out.write(
             "                <!--Place here the code to create each row of your table-->\n");
         out.write("                <tr>\n");
         out.write(
             "                    <!--This is an example of how to access to the values in each iteration:-->\n");
         out.write("                    <td>\n");
         out.write("                        ");
         if (_jspx_meth_c_out_0(
             (javax.servlet.jsp.tagext.JspTag) _jspx_th_c_forEach_0,
             _jspx_page_context,
             _jspx_push_body_count_c_forEach_0)) return true;
         out.write("\n");
         out.write("                        </td>\n");
         out.write("                    </tr>\n");
         out.write("            ");
         int evalDoAfterBody = _jspx_th_c_forEach_0.doAfterBody();
         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
       } while (true);
     }
     if (_jspx_th_c_forEach_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
       return true;
     }
   } catch (Throwable _jspx_exception) {
     while (_jspx_push_body_count_c_forEach_0[0]-- > 0) out = _jspx_page_context.popBody();
     _jspx_th_c_forEach_0.doCatch(_jspx_exception);
   } finally {
     _jspx_th_c_forEach_0.doFinally();
     _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_0);
   }
   return false;
 }
예제 #28
0
  public void _jspService(HttpServletRequest request, HttpServletResponse response)
      throws java.io.IOException, ServletException {

    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;

    try {
      response.setContentType("text/html;charset=UTF-8");
      pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;
      _jspx_resourceInjector =
          (org.apache.jasper.runtime.ResourceInjector)
              application.getAttribute("com.sun.appserv.jsp.resource.injector");

      out.write('\r');
      out.write('\n');
      out.write("\r\n\r\n");
      //  c:set
      org.apache.taglibs.standard.tag.rt.core.SetTag _jspx_th_c_set_0 =
          (org.apache.taglibs.standard.tag.rt.core.SetTag)
              _jspx_tagPool_c_set_var_value_nobody.get(
                  org.apache.taglibs.standard.tag.rt.core.SetTag.class);
      _jspx_th_c_set_0.setPageContext(_jspx_page_context);
      _jspx_th_c_set_0.setParent(null);
      _jspx_th_c_set_0.setVar("storeUrl");
      _jspx_th_c_set_0.setValue(Common.envProps.getString("store.url"));
      int _jspx_eval_c_set_0 = _jspx_th_c_set_0.doStartTag();
      if (_jspx_th_c_set_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _jspx_tagPool_c_set_var_value_nobody.reuse(_jspx_th_c_set_0);
        return;
      }
      _jspx_tagPool_c_set_var_value_nobody.reuse(_jspx_th_c_set_0);
      out.write("\r\n\r\n");
      if (_jspx_meth_tag_page_0(_jspx_page_context)) return;
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)) {
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0) out.clearBuffer();
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
예제 #29
0
 @Override
 public int doEndTag() throws JspException {
   JspWriter out = this.pageContext.getOut();
   try {
     out.write("tag ended!!!");
     out.write(book.toString() + "end");
   } catch (IOException e) {
     e.printStackTrace();
   }
   return EVAL_PAGE;
 }
예제 #30
0
 @Override
 public int doStartTag() throws JspException {
   JspWriter out = this.pageContext.getOut();
   try {
     out.write("tag started!!!");
     out.write(book.toString());
   } catch (IOException e) {
     e.printStackTrace();
   }
   return EVAL_BODY_INCLUDE;
 }