示例#1
0
 private boolean _jspx_meth_form_005fform_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();
   //  form:form
   org.springframework.web.servlet.tags.form.FormTag _jspx_th_form_005fform_005f0 =
       (org.springframework.web.servlet.tags.form.FormTag)
           _005fjspx_005ftagPool_005fform_005fform_0026_005fcssClass_005fcommandName.get(
               org.springframework.web.servlet.tags.form.FormTag.class);
   _jspx_th_form_005fform_005f0.setPageContext(_jspx_page_context);
   _jspx_th_form_005fform_005f0.setParent(null);
   // /WEB-INF/jsp/postwrite.jsp(8,0) name = commandName type = null reqTime = true required =
   // false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false
   // methodSignature = null
   _jspx_th_form_005fform_005f0.setCommandName("post");
   // /WEB-INF/jsp/postwrite.jsp(8,0) name = cssClass type = null reqTime = true required = false
   // fragment = false deferredValue = false expectedTypeName = null deferredMethod = false
   // methodSignature = null
   _jspx_th_form_005fform_005f0.setCssClass("form-horizontal postform");
   int[] _jspx_push_body_count_form_005fform_005f0 = new int[] {0};
   try {
     int _jspx_eval_form_005fform_005f0 = _jspx_th_form_005fform_005f0.doStartTag();
     if (_jspx_eval_form_005fform_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
       do {
         out.write("\n");
         out.write("\t<div class=\"form-group\">\n");
         out.write("\t\t<label for=\"title\" class=\"col-sm-2 control-label\">Name:</label>\n");
         out.write("\t\t<div class=\"col-sm-10\">\n");
         out.write("\t\t\t");
         if (_jspx_meth_form_005finput_005f0(
             _jspx_th_form_005fform_005f0,
             _jspx_page_context,
             _jspx_push_body_count_form_005fform_005f0)) return true;
         out.write("\n");
         out.write("\t\t</div>\n");
         out.write("\t</div>\n");
         out.write("\t<div class=\"form-group\">\n");
         out.write(
             "\t\t<label for=\"description\" class=\"col-sm-2 control-label\">Write Blog</label>\n");
         out.write("\t\t<div class=\"col-sm-10\">\n");
         out.write("\t\t\t");
         if (_jspx_meth_form_005ftextarea_005f0(
             _jspx_th_form_005fform_005f0,
             _jspx_page_context,
             _jspx_push_body_count_form_005fform_005f0)) return true;
         out.write("\n");
         out.write("\t\t</div>\n");
         out.write("\t</div>\n");
         out.write("\t<div class=\"form-group\">\n");
         out.write(
             "\t\t<label for=\"category\" class=\"col-sm-2 control-label\">Category:</label>\n");
         out.write("\t\t<div class=\"col-sm-10\">\n");
         out.write("\t\t\t");
         if (_jspx_meth_form_005fselect_005f0(
             _jspx_th_form_005fform_005f0,
             _jspx_page_context,
             _jspx_push_body_count_form_005fform_005f0)) return true;
         out.write("\n");
         out.write("\t\t\t<div class=\"form-group\">\n");
         out.write("\t\t\t\t<div class=\"col-sm-2 control-label\">\n");
         out.write("\t\t\t\t\t<input type=\"submit\" value=\"Submit Post\"\n");
         out.write("\t\t\t\t\t\tclass=\"btn btn-lg btn-primary\" />\n");
         out.write("\t\t\t\t</div>\n");
         out.write("\t\t\t</div>\n");
         out.write("\t\t</div>\n");
         out.write("\t</div>\n");
         int evalDoAfterBody = _jspx_th_form_005fform_005f0.doAfterBody();
         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
       } while (true);
     }
     if (_jspx_th_form_005fform_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
       return true;
     }
   } catch (java.lang.Throwable _jspx_exception) {
     while (_jspx_push_body_count_form_005fform_005f0[0]-- > 0) out = _jspx_page_context.popBody();
     _jspx_th_form_005fform_005f0.doCatch(_jspx_exception);
   } finally {
     _jspx_th_form_005fform_005f0.doFinally();
     _005fjspx_005ftagPool_005fform_005fform_0026_005fcssClass_005fcommandName.reuse(
         _jspx_th_form_005fform_005f0);
   }
   return false;
 }