コード例 #1
0
  public void _jspService(HttpServletRequest request, HttpServletResponse response)
      throws java.io.IOException, ServletException {

    JspFactory _jspxFactory = null;
    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 {
      _jspxFactory = JspFactory.getDefaultFactory();
      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;

      out.write("\r\n\r\n\r\n\r\n");
      response.setContentType("text/html;charset=UTF-8");
      out.write("\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n");
      Lang dico_lang = SessionTools.getLangFromSession(session, request);
      out.write("\r\n\r\n");
      out.write('\n');
      out.write('\r');
      out.write('\n');
      out.write(
          "\r\n\r\n<div class=\"main-cadre-contener\">\r\n\t\r\n\t<div class=\"main-cadre-top\">\r\n\t\t<h2>");
      out.print(DicoTools.dico(dico_lang, "services/configure"));
      out.write("</h2>\r\n\t</div>\r\n\t\r\n\t<div class=\"main-cadre-content\">\r\n\t\t");
      out.write("\t\r\n\t\t");
      //  bean:define
      org.apache.struts.taglib.bean.DefineTag _jspx_th_bean_define_0 =
          (org.apache.struts.taglib.bean.DefineTag)
              _jspx_tagPool_bean_define_property_name_id_nobody.get(
                  org.apache.struts.taglib.bean.DefineTag.class);
      _jspx_th_bean_define_0.setPageContext(_jspx_page_context);
      _jspx_th_bean_define_0.setParent(null);
      _jspx_th_bean_define_0.setId("applicationId");
      _jspx_th_bean_define_0.setName("mySrvRssFreeForm");
      _jspx_th_bean_define_0.setProperty("applicationId");
      int _jspx_eval_bean_define_0 = _jspx_th_bean_define_0.doStartTag();
      if (_jspx_th_bean_define_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _jspx_tagPool_bean_define_property_name_id_nobody.reuse(_jspx_th_bean_define_0);
        return;
      }
      _jspx_tagPool_bean_define_property_name_id_nobody.reuse(_jspx_th_bean_define_0);
      java.lang.Object applicationId = null;
      applicationId = (java.lang.Object) _jspx_page_context.findAttribute("applicationId");
      out.write("\r\n\t\t");
      //  bean:define
      org.apache.struts.taglib.bean.DefineTag _jspx_th_bean_define_1 =
          (org.apache.struts.taglib.bean.DefineTag)
              _jspx_tagPool_bean_define_property_name_id_nobody.get(
                  org.apache.struts.taglib.bean.DefineTag.class);
      _jspx_th_bean_define_1.setPageContext(_jspx_page_context);
      _jspx_th_bean_define_1.setParent(null);
      _jspx_th_bean_define_1.setId("subscriptionId");
      _jspx_th_bean_define_1.setName("mySrvRssFreeForm");
      _jspx_th_bean_define_1.setProperty("subscriptionId");
      int _jspx_eval_bean_define_1 = _jspx_th_bean_define_1.doStartTag();
      if (_jspx_th_bean_define_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _jspx_tagPool_bean_define_property_name_id_nobody.reuse(_jspx_th_bean_define_1);
        return;
      }
      _jspx_tagPool_bean_define_property_name_id_nobody.reuse(_jspx_th_bean_define_1);
      java.lang.Object subscriptionId = null;
      subscriptionId = (java.lang.Object) _jspx_page_context.findAttribute("subscriptionId");
      out.write("\r\n\t\t");
      //  bean:define
      org.apache.struts.taglib.bean.DefineTag _jspx_th_bean_define_2 =
          (org.apache.struts.taglib.bean.DefineTag)
              _jspx_tagPool_bean_define_type_property_name_id_nobody.get(
                  org.apache.struts.taglib.bean.DefineTag.class);
      _jspx_th_bean_define_2.setPageContext(_jspx_page_context);
      _jspx_th_bean_define_2.setParent(null);
      _jspx_th_bean_define_2.setId("dispatch");
      _jspx_th_bean_define_2.setName("mySrvRssFreeForm");
      _jspx_th_bean_define_2.setProperty("dispatch");
      _jspx_th_bean_define_2.setType("String");
      int _jspx_eval_bean_define_2 = _jspx_th_bean_define_2.doStartTag();
      if (_jspx_th_bean_define_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _jspx_tagPool_bean_define_type_property_name_id_nobody.reuse(_jspx_th_bean_define_2);
        return;
      }
      _jspx_tagPool_bean_define_type_property_name_id_nobody.reuse(_jspx_th_bean_define_2);
      String dispatch = null;
      dispatch = (String) _jspx_page_context.findAttribute("dispatch");
      out.write('\n');
      out.write('	');
      out.write('	');
      //  bean:define
      org.apache.struts.taglib.bean.DefineTag _jspx_th_bean_define_3 =
          (org.apache.struts.taglib.bean.DefineTag)
              _jspx_tagPool_bean_define_property_name_id_nobody.get(
                  org.apache.struts.taglib.bean.DefineTag.class);
      _jspx_th_bean_define_3.setPageContext(_jspx_page_context);
      _jspx_th_bean_define_3.setParent(null);
      _jspx_th_bean_define_3.setId("subscribed");
      _jspx_th_bean_define_3.setName("mySrvRssFreeForm");
      _jspx_th_bean_define_3.setProperty("subscribed");
      int _jspx_eval_bean_define_3 = _jspx_th_bean_define_3.doStartTag();
      if (_jspx_th_bean_define_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _jspx_tagPool_bean_define_property_name_id_nobody.reuse(_jspx_th_bean_define_3);
        return;
      }
      _jspx_tagPool_bean_define_property_name_id_nobody.reuse(_jspx_th_bean_define_3);
      java.lang.Object subscribed = null;
      subscribed = (java.lang.Object) _jspx_page_context.findAttribute("subscribed");
      out.write("\r\n\t\t");
      //  bean:define
      org.apache.struts.taglib.bean.DefineTag _jspx_th_bean_define_4 =
          (org.apache.struts.taglib.bean.DefineTag)
              _jspx_tagPool_bean_define_type_property_name_id_nobody.get(
                  org.apache.struts.taglib.bean.DefineTag.class);
      _jspx_th_bean_define_4.setPageContext(_jspx_page_context);
      _jspx_th_bean_define_4.setParent(null);
      _jspx_th_bean_define_4.setId("name");
      _jspx_th_bean_define_4.setName("mySrvRssFreeForm");
      _jspx_th_bean_define_4.setProperty("name");
      _jspx_th_bean_define_4.setType("String");
      int _jspx_eval_bean_define_4 = _jspx_th_bean_define_4.doStartTag();
      if (_jspx_th_bean_define_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _jspx_tagPool_bean_define_type_property_name_id_nobody.reuse(_jspx_th_bean_define_4);
        return;
      }
      _jspx_tagPool_bean_define_type_property_name_id_nobody.reuse(_jspx_th_bean_define_4);
      String name = null;
      name = (String) _jspx_page_context.findAttribute("name");
      out.write("\r\n\t\t");
      //  bean:define
      org.apache.struts.taglib.bean.DefineTag _jspx_th_bean_define_5 =
          (org.apache.struts.taglib.bean.DefineTag)
              _jspx_tagPool_bean_define_type_property_name_id_nobody.get(
                  org.apache.struts.taglib.bean.DefineTag.class);
      _jspx_th_bean_define_5.setPageContext(_jspx_page_context);
      _jspx_th_bean_define_5.setParent(null);
      _jspx_th_bean_define_5.setId("rssNbNews");
      _jspx_th_bean_define_5.setName("mySrvRssFreeForm");
      _jspx_th_bean_define_5.setProperty("srvNbNews");
      _jspx_th_bean_define_5.setType("Integer");
      int _jspx_eval_bean_define_5 = _jspx_th_bean_define_5.doStartTag();
      if (_jspx_th_bean_define_5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _jspx_tagPool_bean_define_type_property_name_id_nobody.reuse(_jspx_th_bean_define_5);
        return;
      }
      _jspx_tagPool_bean_define_type_property_name_id_nobody.reuse(_jspx_th_bean_define_5);
      Integer rssNbNews = null;
      rssNbNews = (Integer) _jspx_page_context.findAttribute("rssNbNews");
      out.write("\r\n\t\t\r\n\t\t");
      //  html:form
      org.apache.struts.taglib.html.FormTag _jspx_th_html_form_0 =
          (org.apache.struts.taglib.html.FormTag)
              _jspx_tagPool_html_form_styleId_styleClass_action.get(
                  org.apache.struts.taglib.html.FormTag.class);
      _jspx_th_html_form_0.setPageContext(_jspx_page_context);
      _jspx_th_html_form_0.setParent(null);
      _jspx_th_html_form_0.setAction("/action/srvRssFreeConfig");
      _jspx_th_html_form_0.setStyleId("srvRssFreeConfig");
      _jspx_th_html_form_0.setStyleClass("srvConfigForm");
      int _jspx_eval_html_form_0 = _jspx_th_html_form_0.doStartTag();
      if (_jspx_eval_html_form_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n\t\t\t");
          //  html:hidden
          org.apache.struts.taglib.html.HiddenTag _jspx_th_html_hidden_0 =
              (org.apache.struts.taglib.html.HiddenTag)
                  _jspx_tagPool_html_hidden_value_property_nobody.get(
                      org.apache.struts.taglib.html.HiddenTag.class);
          _jspx_th_html_hidden_0.setPageContext(_jspx_page_context);
          _jspx_th_html_hidden_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
          _jspx_th_html_hidden_0.setProperty("applicationId");
          _jspx_th_html_hidden_0.setValue(applicationId.toString());
          int _jspx_eval_html_hidden_0 = _jspx_th_html_hidden_0.doStartTag();
          if (_jspx_th_html_hidden_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _jspx_tagPool_html_hidden_value_property_nobody.reuse(_jspx_th_html_hidden_0);
            return;
          }
          _jspx_tagPool_html_hidden_value_property_nobody.reuse(_jspx_th_html_hidden_0);
          out.write("\t\r\n\t\t\t");
          //  html:hidden
          org.apache.struts.taglib.html.HiddenTag _jspx_th_html_hidden_1 =
              (org.apache.struts.taglib.html.HiddenTag)
                  _jspx_tagPool_html_hidden_value_property_nobody.get(
                      org.apache.struts.taglib.html.HiddenTag.class);
          _jspx_th_html_hidden_1.setPageContext(_jspx_page_context);
          _jspx_th_html_hidden_1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
          _jspx_th_html_hidden_1.setProperty("subscriptionId");
          _jspx_th_html_hidden_1.setValue(subscriptionId.toString());
          int _jspx_eval_html_hidden_1 = _jspx_th_html_hidden_1.doStartTag();
          if (_jspx_th_html_hidden_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _jspx_tagPool_html_hidden_value_property_nobody.reuse(_jspx_th_html_hidden_1);
            return;
          }
          _jspx_tagPool_html_hidden_value_property_nobody.reuse(_jspx_th_html_hidden_1);
          out.write("\t\r\n\t\t\t");
          //  html:hidden
          org.apache.struts.taglib.html.HiddenTag _jspx_th_html_hidden_2 =
              (org.apache.struts.taglib.html.HiddenTag)
                  _jspx_tagPool_html_hidden_value_property_nobody.get(
                      org.apache.struts.taglib.html.HiddenTag.class);
          _jspx_th_html_hidden_2.setPageContext(_jspx_page_context);
          _jspx_th_html_hidden_2.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
          _jspx_th_html_hidden_2.setProperty("name");
          _jspx_th_html_hidden_2.setValue(name);
          int _jspx_eval_html_hidden_2 = _jspx_th_html_hidden_2.doStartTag();
          if (_jspx_th_html_hidden_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _jspx_tagPool_html_hidden_value_property_nobody.reuse(_jspx_th_html_hidden_2);
            return;
          }
          _jspx_tagPool_html_hidden_value_property_nobody.reuse(_jspx_th_html_hidden_2);
          out.write("\t\r\n\t\t\t\r\n\t\t\t<hr class=\"spacer\">\r\n\t\t\t\t\r\n\t\t\t<label>");
          out.print(DicoTools.dico(dico_lang, "srv_rss/nb_news"));
          out.write(
              "</label>\r\n\t\t\t<input type=\"text\" id=\"rssNbNews\" name=\"srvNbNews\" size=\"2\" value=\"");
          out.print(rssNbNews);
          out.write("\" /> \r\n\t\t\t");
          out.print(DicoTools.dico(dico_lang, "srv_rss/msg_max_news"));
          out.write("\t\r\n\t\t\t<hr class=\"spacer\" />\r\n\t\t\t\r\n\t\t\t<h2>");
          out.print(DicoTools.dico(dico_lang, "srv_rss/listen_type"));
          out.write("</h2>\r\n\t\t\t<ul class=\"radio-chooser\">\r\n\t\t\t\t<li>\r\n\t\t\t\t\t");
          if (_jspx_meth_html_radio_0(_jspx_th_html_form_0, _jspx_page_context)) return;
          out.write("<span>");
          out.print(DicoTools.dico(dico_lang, "srv_rss/week_and_week_end"));
          out.write("</span>\r\n\t\t\t\t\t<label class=\"big\">");
          out.print(DicoTools.dico(dico_lang, "srv_rss/choose_time_week"));
          out.write(
              "</label>\r\n\t\t\t\t\t<input id=\"time1\" class=\"hourPicker\" type=\"hidden\" name=\"scheduleW\" value=\"");
          if (_jspx_meth_bean_write_0(_jspx_th_html_form_0, _jspx_page_context)) return;
          out.write(
              "\">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<hr class=\"spacer\">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class=\"big\">");
          out.print(DicoTools.dico(dico_lang, "srv_rss/choose_time_week_end"));
          out.write(
              "</label>\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t<input id=\"time2\" class=\"hourPicker\" type=\"hidden\" name=\"scheduleWE\" value=\"");
          if (_jspx_meth_bean_write_1(_jspx_th_html_form_0, _jspx_page_context)) return;
          out.write("\"><br/>\t\t\t\t\r\n\t\t\t\t</li>\r\n\t\t\t\t<li>\r\n\t\t\t\t\t");
          if (_jspx_meth_html_radio_1(_jspx_th_html_form_0, _jspx_page_context)) return;
          out.print(DicoTools.dico(dico_lang, "srv_rss/everytime_new"));
          out.write("\r\n\t\t\t\t\t");
          if (_jspx_meth_html_select_0(_jspx_th_html_form_0, _jspx_page_context)) return;
          out.write(
              "\t\t\t\t\r\n\t\t\t\t</li>\r\n\t\t\t</ul>\r\n\t\t\t<hr class=\"spacer\">\r\n\t\t\t\r\n\t\t\t");
          if (_jspx_meth_html_hidden_3(_jspx_th_html_form_0, _jspx_page_context)) return;
          out.write("\r\n\t\t\t\r\n\t\t\t<div align=\"center\">\r\n\t\t\t\t");
          //  logic:equal
          org.apache.struts.taglib.logic.EqualTag _jspx_th_logic_equal_0 =
              (org.apache.struts.taglib.logic.EqualTag)
                  _jspx_tagPool_logic_equal_value_name.get(
                      org.apache.struts.taglib.logic.EqualTag.class);
          _jspx_th_logic_equal_0.setPageContext(_jspx_page_context);
          _jspx_th_logic_equal_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
          _jspx_th_logic_equal_0.setValue("true");
          _jspx_th_logic_equal_0.setName("subscribed");
          int _jspx_eval_logic_equal_0 = _jspx_th_logic_equal_0.doStartTag();
          if (_jspx_eval_logic_equal_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            do {
              out.write("\r\n\t\t\t\t\t");
              out.write("\t\t\t\r\n\t\t\t\t\t");
              //  html:button
              org.apache.struts.taglib.html.ButtonTag _jspx_th_html_button_0 =
                  (org.apache.struts.taglib.html.ButtonTag)
                      _jspx_tagPool_html_button_value_styleClass_property_onclick.get(
                          org.apache.struts.taglib.html.ButtonTag.class);
              _jspx_th_html_button_0.setPageContext(_jspx_page_context);
              _jspx_th_html_button_0.setParent(
                  (javax.servlet.jsp.tagext.Tag) _jspx_th_logic_equal_0);
              _jspx_th_html_button_0.setProperty("delete");
              _jspx_th_html_button_0.setValue(DicoTools.dico(dico_lang, "srv_clock/deactivate"));
              _jspx_th_html_button_0.setStyleClass("genericDeleteBt");
              _jspx_th_html_button_0.setOnclick("serviceDelete();");
              int _jspx_eval_html_button_0 = _jspx_th_html_button_0.doStartTag();
              if (_jspx_eval_html_button_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                if (_jspx_eval_html_button_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                  out = _jspx_page_context.pushBody();
                  _jspx_th_html_button_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                  _jspx_th_html_button_0.doInitBody();
                }
                do {
                  out.print(DicoTools.dico(dico_lang, "srv_clock/deactivate"));
                  int evalDoAfterBody = _jspx_th_html_button_0.doAfterBody();
                  if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
                } while (true);
                if (_jspx_eval_html_button_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                  out = _jspx_page_context.popBody();
                }
              }
              if (_jspx_th_html_button_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                _jspx_tagPool_html_button_value_styleClass_property_onclick.reuse(
                    _jspx_th_html_button_0);
                return;
              }
              _jspx_tagPool_html_button_value_styleClass_property_onclick.reuse(
                  _jspx_th_html_button_0);
              out.write("\r\n\t\t\t\t\t");
              out.write("\t\r\n\t\t\t\t\t");
              //  html:submit
              org.apache.struts.taglib.html.SubmitTag _jspx_th_html_submit_0 =
                  (org.apache.struts.taglib.html.SubmitTag)
                      _jspx_tagPool_html_submit_value_styleClass_property_onclick.get(
                          org.apache.struts.taglib.html.SubmitTag.class);
              _jspx_th_html_submit_0.setPageContext(_jspx_page_context);
              _jspx_th_html_submit_0.setParent(
                  (javax.servlet.jsp.tagext.Tag) _jspx_th_logic_equal_0);
              _jspx_th_html_submit_0.setProperty("update");
              _jspx_th_html_submit_0.setValue(DicoTools.dico(dico_lang, "srv_clock/update"));
              _jspx_th_html_submit_0.setStyleClass("genericBt");
              _jspx_th_html_submit_0.setOnclick("goDispatch('update', 'dispatchConfig')");
              int _jspx_eval_html_submit_0 = _jspx_th_html_submit_0.doStartTag();
              if (_jspx_eval_html_submit_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                if (_jspx_eval_html_submit_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                  out = _jspx_page_context.pushBody();
                  _jspx_th_html_submit_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                  _jspx_th_html_submit_0.doInitBody();
                }
                do {
                  out.print(DicoTools.dico(dico_lang, "srv_clock/update"));
                  int evalDoAfterBody = _jspx_th_html_submit_0.doAfterBody();
                  if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
                } while (true);
                if (_jspx_eval_html_submit_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                  out = _jspx_page_context.popBody();
                }
              }
              if (_jspx_th_html_submit_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                _jspx_tagPool_html_submit_value_styleClass_property_onclick.reuse(
                    _jspx_th_html_submit_0);
                return;
              }
              _jspx_tagPool_html_submit_value_styleClass_property_onclick.reuse(
                  _jspx_th_html_submit_0);
              out.write("\t\r\n\t\t\t\t");
              int evalDoAfterBody = _jspx_th_logic_equal_0.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
            } while (true);
          }
          if (_jspx_th_logic_equal_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _jspx_tagPool_logic_equal_value_name.reuse(_jspx_th_logic_equal_0);
            return;
          }
          _jspx_tagPool_logic_equal_value_name.reuse(_jspx_th_logic_equal_0);
          out.write("\r\n\t\t\t\t");
          //  logic:equal
          org.apache.struts.taglib.logic.EqualTag _jspx_th_logic_equal_1 =
              (org.apache.struts.taglib.logic.EqualTag)
                  _jspx_tagPool_logic_equal_value_name.get(
                      org.apache.struts.taglib.logic.EqualTag.class);
          _jspx_th_logic_equal_1.setPageContext(_jspx_page_context);
          _jspx_th_logic_equal_1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
          _jspx_th_logic_equal_1.setValue("false");
          _jspx_th_logic_equal_1.setName("subscribed");
          int _jspx_eval_logic_equal_1 = _jspx_th_logic_equal_1.doStartTag();
          if (_jspx_eval_logic_equal_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            do {
              out.write("\r\n\t\t\t\t\t");
              out.write("\t\t\t\t\r\n\t\t\t\t\t");
              //  html:submit
              org.apache.struts.taglib.html.SubmitTag _jspx_th_html_submit_1 =
                  (org.apache.struts.taglib.html.SubmitTag)
                      _jspx_tagPool_html_submit_value_styleClass_property_onclick.get(
                          org.apache.struts.taglib.html.SubmitTag.class);
              _jspx_th_html_submit_1.setPageContext(_jspx_page_context);
              _jspx_th_html_submit_1.setParent(
                  (javax.servlet.jsp.tagext.Tag) _jspx_th_logic_equal_1);
              _jspx_th_html_submit_1.setProperty("submit");
              _jspx_th_html_submit_1.setValue(DicoTools.dico(dico_lang, "srv_clock/activate"));
              _jspx_th_html_submit_1.setStyleClass("genericBt");
              _jspx_th_html_submit_1.setOnclick("goDispatch('activate', 'dispatchConfig')");
              int _jspx_eval_html_submit_1 = _jspx_th_html_submit_1.doStartTag();
              if (_jspx_eval_html_submit_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                if (_jspx_eval_html_submit_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                  out = _jspx_page_context.pushBody();
                  _jspx_th_html_submit_1.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                  _jspx_th_html_submit_1.doInitBody();
                }
                do {
                  out.print(DicoTools.dico(dico_lang, "srv_clock/activate"));
                  int evalDoAfterBody = _jspx_th_html_submit_1.doAfterBody();
                  if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
                } while (true);
                if (_jspx_eval_html_submit_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                  out = _jspx_page_context.popBody();
                }
              }
              if (_jspx_th_html_submit_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                _jspx_tagPool_html_submit_value_styleClass_property_onclick.reuse(
                    _jspx_th_html_submit_1);
                return;
              }
              _jspx_tagPool_html_submit_value_styleClass_property_onclick.reuse(
                  _jspx_th_html_submit_1);
              out.write("\r\n\t\t\t\t");
              int evalDoAfterBody = _jspx_th_logic_equal_1.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
            } while (true);
          }
          if (_jspx_th_logic_equal_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _jspx_tagPool_logic_equal_value_name.reuse(_jspx_th_logic_equal_1);
            return;
          }
          _jspx_tagPool_logic_equal_value_name.reuse(_jspx_th_logic_equal_1);
          out.write("\r\n\t\t\t</div>\r\n\t\t");
          int evalDoAfterBody = _jspx_th_html_form_0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
        } while (true);
      }
      if (_jspx_th_html_form_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _jspx_tagPool_html_form_styleId_styleClass_action.reuse(_jspx_th_html_form_0);
        return;
      }
      _jspx_tagPool_html_form_styleId_styleClass_action.reuse(_jspx_th_html_form_0);
      out.write("\r\n\t\r\n\t\t");
      out.write(
          "\t\r\n\t</div>\r\n</div>\r\n\r\n<script type=\"text/javascript\">\r\n\t$(\"input.hourPicker\").hourSelect_InitN( false );\r\n\t$(\"ul.radio-chooser\").radioChooser();\r\n\t\r\n\t$(\"#srvRssFreeConfig\").submit(function(){\r\n\t\treturn nablifeValidateRssFreeConfig(");
      if (_jspx_meth_logic_equal_2(_jspx_page_context)) return;
      out.write(");\t\t\r\n\t});\r\n\t\r\n</script>\r\n\r\n\t\t");
    } 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 {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
コード例 #2
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");
      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\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<p class=\"title\">\r\n");
      if (_jspx_meth_bean_005fmessage_005f0(_jspx_page_context)) return;
      out.write("\r\n</p>\r\n<p class=\"instr\">\r\n");
      if (_jspx_meth_bean_005fmessage_005f1(_jspx_page_context)) return;
      out.write("\r\n</p>\r\n\r\n");
      //  html:messages
      org.apache.struts.taglib.html.MessagesTag _jspx_th_html_005fmessages_005f0 =
          (org.apache.struts.taglib.html.MessagesTag)
              _005fjspx_005ftagPool_005fhtml_005fmessages_0026_005fmessage_005fid.get(
                  org.apache.struts.taglib.html.MessagesTag.class);
      _jspx_th_html_005fmessages_005f0.setPageContext(_jspx_page_context);
      _jspx_th_html_005fmessages_005f0.setParent(null);
      // /user/listSubAccountsTop.jsp(36,0) name = message type = null reqTime = true required =
      // false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false
      // methodSignature = null
      _jspx_th_html_005fmessages_005f0.setMessage("true");
      // /user/listSubAccountsTop.jsp(36,0) name = id type = java.lang.String reqTime = false
      // required = true fragment = false deferredValue = false expectedTypeName = null
      // deferredMethod = false methodSignature = null
      _jspx_th_html_005fmessages_005f0.setId("myMessage");
      int _jspx_eval_html_005fmessages_005f0 = _jspx_th_html_005fmessages_005f0.doStartTag();
      if (_jspx_eval_html_005fmessages_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        java.lang.String myMessage = null;
        if (_jspx_eval_html_005fmessages_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
          out = _jspx_page_context.pushBody();
          _jspx_th_html_005fmessages_005f0.setBodyContent(
              (javax.servlet.jsp.tagext.BodyContent) out);
          _jspx_th_html_005fmessages_005f0.doInitBody();
        }
        myMessage = (java.lang.String) _jspx_page_context.findAttribute("myMessage");
        do {
          out.write("\r\n\t<p>");
          if (_jspx_meth_bean_005fwrite_005f0(_jspx_th_html_005fmessages_005f0, _jspx_page_context))
            return;
          out.write("</p>\r\n");
          int evalDoAfterBody = _jspx_th_html_005fmessages_005f0.doAfterBody();
          myMessage = (java.lang.String) _jspx_page_context.findAttribute("myMessage");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
        } while (true);
        if (_jspx_eval_html_005fmessages_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
          out = _jspx_page_context.popBody();
        }
      }
      if (_jspx_th_html_005fmessages_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _005fjspx_005ftagPool_005fhtml_005fmessages_0026_005fmessage_005fid.reuse(
            _jspx_th_html_005fmessages_005f0);
        return;
      }
      _005fjspx_005ftagPool_005fhtml_005fmessages_0026_005fmessage_005fid.reuse(
          _jspx_th_html_005fmessages_005f0);
      out.write("\r\n\r\n");
      out.write('\r');
      out.write('\n');
      //  bean:define
      org.apache.struts.taglib.bean.DefineTag _jspx_th_bean_005fdefine_005f0 =
          (org.apache.struts.taglib.bean.DefineTag)
              _005fjspx_005ftagPool_005fbean_005fdefine_0026_005fvalue_005ftoScope_005fid_005fnobody
                  .get(org.apache.struts.taglib.bean.DefineTag.class);
      _jspx_th_bean_005fdefine_005f0.setPageContext(_jspx_page_context);
      _jspx_th_bean_005fdefine_005f0.setParent(null);
      // /user/listSubAccountsTop.jsp(42,0) name = id type = java.lang.String reqTime = false
      // required = true fragment = false deferredValue = false expectedTypeName = null
      // deferredMethod = false methodSignature = null
      _jspx_th_bean_005fdefine_005f0.setId("forward_from");
      // /user/listSubAccountsTop.jsp(42,0) name = value type = null reqTime = true required = false
      // fragment = false deferredValue = false expectedTypeName = null deferredMethod = false
      // methodSignature = null
      _jspx_th_bean_005fdefine_005f0.setValue(Constants.FORWARD_USER_MAINTAIN);
      // /user/listSubAccountsTop.jsp(42,0) name = toScope type = null reqTime = true required =
      // false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false
      // methodSignature = null
      _jspx_th_bean_005fdefine_005f0.setToScope("session");
      int _jspx_eval_bean_005fdefine_005f0 = _jspx_th_bean_005fdefine_005f0.doStartTag();
      if (_jspx_th_bean_005fdefine_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _005fjspx_005ftagPool_005fbean_005fdefine_0026_005fvalue_005ftoScope_005fid_005fnobody
            .reuse(_jspx_th_bean_005fdefine_005f0);
        return;
      }
      _005fjspx_005ftagPool_005fbean_005fdefine_0026_005fvalue_005ftoScope_005fid_005fnobody.reuse(
          _jspx_th_bean_005fdefine_005f0);
      java.lang.String forward_from = null;
      forward_from = (java.lang.String) _jspx_page_context.findAttribute("forward_from");
      out.write("\r\n\r\n");
      //  bean:define
      org.apache.struts.taglib.bean.DefineTag _jspx_th_bean_005fdefine_005f1 =
          (org.apache.struts.taglib.bean.DefineTag)
              _005fjspx_005ftagPool_005fbean_005fdefine_0026_005fvalue_005ftoScope_005fid_005fnobody
                  .get(org.apache.struts.taglib.bean.DefineTag.class);
      _jspx_th_bean_005fdefine_005f1.setPageContext(_jspx_page_context);
      _jspx_th_bean_005fdefine_005f1.setParent(null);
      // /user/listSubAccountsTop.jsp(46,0) name = id type = java.lang.String reqTime = false
      // required = true fragment = false deferredValue = false expectedTypeName = null
      // deferredMethod = false methodSignature = null
      _jspx_th_bean_005fdefine_005f1.setId("forward_to");
      // /user/listSubAccountsTop.jsp(46,0) name = value type = null reqTime = true required = false
      // fragment = false deferredValue = false expectedTypeName = null deferredMethod = false
      // methodSignature = null
      _jspx_th_bean_005fdefine_005f1.setValue(Constants.FORWARD_USER_VIEW);
      // /user/listSubAccountsTop.jsp(46,0) name = toScope type = null reqTime = true required =
      // false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false
      // methodSignature = null
      _jspx_th_bean_005fdefine_005f1.setToScope("session");
      int _jspx_eval_bean_005fdefine_005f1 = _jspx_th_bean_005fdefine_005f1.doStartTag();
      if (_jspx_th_bean_005fdefine_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _005fjspx_005ftagPool_005fbean_005fdefine_0026_005fvalue_005ftoScope_005fid_005fnobody
            .reuse(_jspx_th_bean_005fdefine_005f1);
        return;
      }
      _005fjspx_005ftagPool_005fbean_005fdefine_0026_005fvalue_005ftoScope_005fid_005fnobody.reuse(
          _jspx_th_bean_005fdefine_005f1);
      java.lang.String forward_to = null;
      forward_to = (java.lang.String) _jspx_page_context.findAttribute("forward_to");
      out.write("\r\n\r\n");
      //  jbilling:genericList
      com.sapienter.jbilling.client.list.GenericListTag _jspx_th_jbilling_005fgenericList_005f0 =
          (com.sapienter.jbilling.client.list.GenericListTag)
              _005fjspx_005ftagPool_005fjbilling_005fgenericList_0026_005ftype_005fsetup_005fnobody
                  .get(com.sapienter.jbilling.client.list.GenericListTag.class);
      _jspx_th_jbilling_005fgenericList_005f0.setPageContext(_jspx_page_context);
      _jspx_th_jbilling_005fgenericList_005f0.setParent(null);
      // /user/listSubAccountsTop.jsp(50,0) name = setup type = java.lang.Boolean reqTime = true
      // required = false fragment = false deferredValue = false expectedTypeName = null
      // deferredMethod = false methodSignature = null
      _jspx_th_jbilling_005fgenericList_005f0.setSetup(new Boolean(true));
      // /user/listSubAccountsTop.jsp(50,0) name = type type = java.lang.String reqTime = true
      // required = false fragment = false deferredValue = false expectedTypeName = null
      // deferredMethod = false methodSignature = null
      _jspx_th_jbilling_005fgenericList_005f0.setType(Constants.LIST_TYPE_SUB_ACCOUNTS);
      int _jspx_eval_jbilling_005fgenericList_005f0 =
          _jspx_th_jbilling_005fgenericList_005f0.doStartTag();
      if (_jspx_th_jbilling_005fgenericList_005f0.doEndTag()
          == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _005fjspx_005ftagPool_005fjbilling_005fgenericList_0026_005ftype_005fsetup_005fnobody.reuse(
            _jspx_th_jbilling_005fgenericList_005f0);
        return;
      }
      _005fjspx_005ftagPool_005fjbilling_005fgenericList_0026_005ftype_005fsetup_005fnobody.reuse(
          _jspx_th_jbilling_005fgenericList_005f0);
      out.write('\r');
      out.write('\n');
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)) {
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try {
            out.clearBuffer();
          } catch (java.io.IOException e) {
          }
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }