⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cdform_jsp.java

📁 JSF的一个项目演示
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
    //  h:message
    com.sun.faces.taglib.html_basic.MessageTag _jspx_th_h_message_2 = (com.sun.faces.taglib.html_basic.MessageTag) _jspx_tagPool_h_message_styleClass_for_nobody.get(com.sun.faces.taglib.html_basic.MessageTag.class);
    _jspx_th_h_message_2.setPageContext(_jspx_page_context);
    _jspx_th_h_message_2.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_h_panelGrid_0);
    _jspx_th_h_message_2.setFor("price");
    _jspx_th_h_message_2.setStyleClass("errorText");
    int _jspx_eval_h_message_2 = _jspx_th_h_message_2.doStartTag();
    if (_jspx_th_h_message_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_h_message_styleClass_for_nobody.reuse(_jspx_th_h_message_2);
    return false;
  }

  private boolean _jspx_meth_h_outputLabel_3(javax.servlet.jsp.tagext.JspTag _jspx_th_h_panelGrid_0, PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  h:outputLabel
    com.sun.faces.taglib.html_basic.OutputLabelTag _jspx_th_h_outputLabel_3 = (com.sun.faces.taglib.html_basic.OutputLabelTag) _jspx_tagPool_h_outputLabel_styleClass_for.get(com.sun.faces.taglib.html_basic.OutputLabelTag.class);
    _jspx_th_h_outputLabel_3.setPageContext(_jspx_page_context);
    _jspx_th_h_outputLabel_3.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_h_panelGrid_0);
    _jspx_th_h_outputLabel_3.setFor("category");
    _jspx_th_h_outputLabel_3.setStyleClass("label");
    int _jspx_eval_h_outputLabel_3 = _jspx_th_h_outputLabel_3.doStartTag();
    if (_jspx_eval_h_outputLabel_3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      out.write("\r\n");
      out.write("        ");
      if (_jspx_meth_h_outputText_3(_jspx_th_h_outputLabel_3, _jspx_page_context))
        return true;
      out.write("\r\n");
      out.write("      ");
    }
    if (_jspx_th_h_outputLabel_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_h_outputLabel_styleClass_for.reuse(_jspx_th_h_outputLabel_3);
    return false;
  }

  private boolean _jspx_meth_h_outputText_3(javax.servlet.jsp.tagext.JspTag _jspx_th_h_outputLabel_3, PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  h:outputText
    com.sun.faces.taglib.html_basic.OutputTextTag _jspx_th_h_outputText_3 = (com.sun.faces.taglib.html_basic.OutputTextTag) _jspx_tagPool_h_outputText_value_nobody.get(com.sun.faces.taglib.html_basic.OutputTextTag.class);
    _jspx_th_h_outputText_3.setPageContext(_jspx_page_context);
    _jspx_th_h_outputText_3.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_h_outputLabel_3);
    _jspx_th_h_outputText_3.setValue("类别");
    int _jspx_eval_h_outputText_3 = _jspx_th_h_outputText_3.doStartTag();
    if (_jspx_th_h_outputText_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_h_outputText_value_nobody.reuse(_jspx_th_h_outputText_3);
    return false;
  }

  private boolean _jspx_meth_h_selectOneRadio_0(javax.servlet.jsp.tagext.JspTag _jspx_th_h_panelGrid_0, PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  h:selectOneRadio
    com.sun.faces.taglib.html_basic.SelectOneRadioTag _jspx_th_h_selectOneRadio_0 = (com.sun.faces.taglib.html_basic.SelectOneRadioTag) _jspx_tagPool_h_selectOneRadio_valueChangeListener_value_onclick_immediate_id.get(com.sun.faces.taglib.html_basic.SelectOneRadioTag.class);
    _jspx_th_h_selectOneRadio_0.setPageContext(_jspx_page_context);
    _jspx_th_h_selectOneRadio_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_h_panelGrid_0);
    _jspx_th_h_selectOneRadio_0.setId("category");
    _jspx_th_h_selectOneRadio_0.setValue("#{CDManagerBean.cd.category}");
    _jspx_th_h_selectOneRadio_0.setImmediate("true");
    _jspx_th_h_selectOneRadio_0.setOnclick("submit()");
    _jspx_th_h_selectOneRadio_0.setValueChangeListener("#{CDManagerBean.categorySelected}");
    int _jspx_eval_h_selectOneRadio_0 = _jspx_th_h_selectOneRadio_0.doStartTag();
    if (_jspx_eval_h_selectOneRadio_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      out.write("\r\n");
      out.write("        ");
      if (_jspx_meth_f_selectItems_0(_jspx_th_h_selectOneRadio_0, _jspx_page_context))
        return true;
      out.write("\r\n");
      out.write("      ");
    }
    if (_jspx_th_h_selectOneRadio_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_h_selectOneRadio_valueChangeListener_value_onclick_immediate_id.reuse(_jspx_th_h_selectOneRadio_0);
    return false;
  }

  private boolean _jspx_meth_f_selectItems_0(javax.servlet.jsp.tagext.JspTag _jspx_th_h_selectOneRadio_0, PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  f:selectItems
    com.sun.faces.taglib.jsf_core.SelectItemsTag _jspx_th_f_selectItems_0 = (com.sun.faces.taglib.jsf_core.SelectItemsTag) _jspx_tagPool_f_selectItems_value_nobody.get(com.sun.faces.taglib.jsf_core.SelectItemsTag.class);
    _jspx_th_f_selectItems_0.setPageContext(_jspx_page_context);
    _jspx_th_f_selectItems_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_h_selectOneRadio_0);
    _jspx_th_f_selectItems_0.setValue("#{CDManagerBean.categories}");
    int _jspx_eval_f_selectItems_0 = _jspx_th_f_selectItems_0.doStartTag();
    if (_jspx_th_f_selectItems_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_f_selectItems_value_nobody.reuse(_jspx_th_f_selectItems_0);
    return false;
  }

  private boolean _jspx_meth_h_message_3(javax.servlet.jsp.tagext.JspTag _jspx_th_h_panelGrid_0, PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  h:message
    com.sun.faces.taglib.html_basic.MessageTag _jspx_th_h_message_3 = (com.sun.faces.taglib.html_basic.MessageTag) _jspx_tagPool_h_message_styleClass_for_nobody.get(com.sun.faces.taglib.html_basic.MessageTag.class);
    _jspx_th_h_message_3.setPageContext(_jspx_page_context);
    _jspx_th_h_message_3.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_h_panelGrid_0);
    _jspx_th_h_message_3.setFor("category");
    _jspx_th_h_message_3.setStyleClass("errorText");
    int _jspx_eval_h_message_3 = _jspx_th_h_message_3.doStartTag();
    if (_jspx_th_h_message_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_h_message_styleClass_for_nobody.reuse(_jspx_th_h_message_3);
    return false;
  }

  private boolean _jspx_meth_h_outputLabel_4(javax.servlet.jsp.tagext.JspTag _jspx_th_h_panelGrid_0, PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  h:outputLabel
    com.sun.faces.taglib.html_basic.OutputLabelTag _jspx_th_h_outputLabel_4 = (com.sun.faces.taglib.html_basic.OutputLabelTag) _jspx_tagPool_h_outputLabel_styleClass_for.get(com.sun.faces.taglib.html_basic.OutputLabelTag.class);
    _jspx_th_h_outputLabel_4.setPageContext(_jspx_page_context);
    _jspx_th_h_outputLabel_4.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_h_panelGrid_0);
    _jspx_th_h_outputLabel_4.setFor("subcategory");
    _jspx_th_h_outputLabel_4.setStyleClass("label");
    int _jspx_eval_h_outputLabel_4 = _jspx_th_h_outputLabel_4.doStartTag();
    if (_jspx_eval_h_outputLabel_4 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      out.write("\r\n");
      out.write("        ");
      if (_jspx_meth_h_outputText_4(_jspx_th_h_outputLabel_4, _jspx_page_context))
        return true;
      out.write("\r\n");
      out.write("      ");
    }
    if (_jspx_th_h_outputLabel_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_h_outputLabel_styleClass_for.reuse(_jspx_th_h_outputLabel_4);
    return false;
  }

  private boolean _jspx_meth_h_outputText_4(javax.servlet.jsp.tagext.JspTag _jspx_th_h_outputLabel_4, PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  h:outputText
    com.sun.faces.taglib.html_basic.OutputTextTag _jspx_th_h_outputText_4 = (com.sun.faces.taglib.html_basic.OutputTextTag) _jspx_tagPool_h_outputText_value_nobody.get(com.sun.faces.taglib.html_basic.OutputTextTag.class);
    _jspx_th_h_outputText_4.setPageContext(_jspx_page_context);
    _jspx_th_h_outputText_4.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_h_outputLabel_4);
    _jspx_th_h_outputText_4.setValue("子类别");
    int _jspx_eval_h_outputText_4 = _jspx_th_h_outputText_4.doStartTag();
    if (_jspx_th_h_outputText_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_h_outputText_value_nobody.reuse(_jspx_th_h_outputText_4);
    return false;
  }

  private boolean _jspx_meth_h_selectOneListbox_0(javax.servlet.jsp.tagext.JspTag _jspx_th_h_panelGrid_0, PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  h:selectOneListbox
    com.sun.faces.taglib.html_basic.SelectOneListboxTag _jspx_th_h_selectOneListbox_0 = (com.sun.faces.taglib.html_basic.SelectOneListboxTag) _jspx_tagPool_h_selectOneListbox_value_id_binding.get(com.sun.faces.taglib.html_basic.SelectOneListboxTag.class);
    _jspx_th_h_selectOneListbox_0.setPageContext(_jspx_page_context);
    _jspx_th_h_selectOneListbox_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_h_panelGrid_0);
    _jspx_th_h_selectOneListbox_0.setId("subcategory");
    _jspx_th_h_selectOneListbox_0.setValue("#{CDManagerBean.cd.subCategory}");
    _jspx_th_h_selectOneListbox_0.setBinding("#{CDManagerBean.subCategoryList}");
    int _jspx_eval_h_selectOneListbox_0 = _jspx_th_h_selectOneListbox_0.doStartTag();
    if (_jspx_eval_h_selectOneListbox_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      out.write("\r\n");
      out.write("        ");
      if (_jspx_meth_f_selectItems_1(_jspx_th_h_selectOneListbox_0, _jspx_page_context))
        return true;
      out.write("\r\n");
      out.write("      ");
    }
    if (_jspx_th_h_selectOneListbox_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_h_selectOneListbox_value_id_binding.reuse(_jspx_th_h_selectOneListbox_0);
    return false;
  }

  private boolean _jspx_meth_f_selectItems_1(javax.servlet.jsp.tagext.JspTag _jspx_th_h_selectOneListbox_0, PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  f:selectItems
    com.sun.faces.taglib.jsf_core.SelectItemsTag _jspx_th_f_selectItems_1 = (com.sun.faces.taglib.jsf_core.SelectItemsTag) _jspx_tagPool_f_selectItems_value_nobody.get(com.sun.faces.taglib.jsf_core.SelectItemsTag.class);
    _jspx_th_f_selectItems_1.setPageContext(_jspx_page_context);
    _jspx_th_f_selectItems_1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_h_selectOneListbox_0);
    _jspx_th_f_selectItems_1.setValue("#{CDManagerBean.subCategories}");
    int _jspx_eval_f_selectItems_1 = _jspx_th_f_selectItems_1.doStartTag();
    if (_jspx_th_f_selectItems_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_f_selectItems_value_nobody.reuse(_jspx_th_f_selectItems_1);
    return false;
  }

  private boolean _jspx_meth_h_message_4(javax.servlet.jsp.tagext.JspTag _jspx_th_h_panelGrid_0, PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  h:message
    com.sun.faces.taglib.html_basic.MessageTag _jspx_th_h_message_4 = (com.sun.faces.taglib.html_basic.MessageTag) _jspx_tagPool_h_message_styleClass_for_nobody.get(com.sun.faces.taglib.html_basic.MessageTag.class);
    _jspx_th_h_message_4.setPageContext(_jspx_page_context);
    _jspx_th_h_message_4.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_h_panelGrid_0);
    _jspx_th_h_message_4.setFor("subcategory");
    _jspx_th_h_message_4.setStyleClass("errorText");
    int _jspx_eval_h_message_4 = _jspx_th_h_message_4.doStartTag();
    if (_jspx_th_h_message_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_h_message_styleClass_for_nobody.reuse(_jspx_th_h_message_4);
    return false;
  }

  private boolean _jspx_meth_h_commandButton_0(javax.servlet.jsp.tagext.JspTag _jspx_th_h_form_0, PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  h:commandButton
    com.sun.faces.taglib.html_basic.CommandButtonTag _jspx_th_h_commandButton_0 = (com.sun.faces.taglib.html_basic.CommandButtonTag) _jspx_tagPool_h_commandButton_value_rendered_id_action_nobody.get(com.sun.faces.taglib.html_basic.CommandButtonTag.class);
    _jspx_th_h_commandButton_0.setPageContext(_jspx_page_context);
    _jspx_th_h_commandButton_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_h_form_0);
    _jspx_th_h_commandButton_0.setId("submitAdd");
    _jspx_th_h_commandButton_0.setAction("#{CDManagerBean.addCD}");
    _jspx_th_h_commandButton_0.setValue("在库存列表中添加 CD");
    _jspx_th_h_commandButton_0.setRendered("#{not CDManagerBean.editMode}");
    int _jspx_eval_h_commandButton_0 = _jspx_th_h_commandButton_0.doStartTag();
    if (_jspx_th_h_commandButton_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_h_commandButton_value_rendered_id_action_nobody.reuse(_jspx_th_h_commandButton_0);
    return false;
  }

  private boolean _jspx_meth_h_commandButton_1(javax.servlet.jsp.tagext.JspTag _jspx_th_h_form_0, PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  h:commandButton
    com.sun.faces.taglib.html_basic.CommandButtonTag _jspx_th_h_commandButton_1 = (com.sun.faces.taglib.html_basic.CommandButtonTag) _jspx_tagPool_h_commandButton_value_rendered_id_action_nobody.get(com.sun.faces.taglib.html_basic.CommandButtonTag.class);
    _jspx_th_h_commandButton_1.setPageContext(_jspx_page_context);
    _jspx_th_h_commandButton_1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_h_form_0);
    _jspx_th_h_commandButton_1.setId("submitUpdate");
    _jspx_th_h_commandButton_1.setAction("#{CDManagerBean.updateCD}");
    _jspx_th_h_commandButton_1.setValue("更新 CD");
    _jspx_th_h_commandButton_1.setRendered("#{CDManagerBean.editMode}");
    int _jspx_eval_h_commandButton_1 = _jspx_th_h_commandButton_1.doStartTag();
    if (_jspx_th_h_commandButton_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_h_commandButton_value_rendered_id_action_nobody.reuse(_jspx_th_h_commandButton_1);
    return false;
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -