Example #1
0
 private boolean _jspx_meth_shiro_005fhasPermission_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();
   //  shiro:hasPermission
   org.apache.shiro.web.tags.HasPermissionTag _jspx_th_shiro_005fhasPermission_005f0 =
       (org.apache.shiro.web.tags.HasPermissionTag)
           _005fjspx_005ftagPool_005fshiro_005fhasPermission_0026_005fname.get(
               org.apache.shiro.web.tags.HasPermissionTag.class);
   _jspx_th_shiro_005fhasPermission_005f0.setPageContext(_jspx_page_context);
   _jspx_th_shiro_005fhasPermission_005f0.setParent(
       (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fforEach_005f0);
   // /WEB-INF/views/modules/cms/commentList.jsp(49,8) name = name type = null reqTime = true
   // required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod
   // = false methodSignature = null
   _jspx_th_shiro_005fhasPermission_005f0.setName("cms:comment:edit");
   int _jspx_eval_shiro_005fhasPermission_005f0 =
       _jspx_th_shiro_005fhasPermission_005f0.doStartTag();
   if (_jspx_eval_shiro_005fhasPermission_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     do {
       out.write("\n");
       out.write("\t\t\t\t\t");
       if (_jspx_meth_c_005fif_005f0(
           _jspx_th_shiro_005fhasPermission_005f0,
           _jspx_page_context,
           _jspx_push_body_count_c_005fforEach_005f0)) return true;
       out.write("\n");
       out.write("\t\t\t\t\t");
       if (_jspx_meth_c_005fif_005f1(
           _jspx_th_shiro_005fhasPermission_005f0,
           _jspx_page_context,
           _jspx_push_body_count_c_005fforEach_005f0)) return true;
       int evalDoAfterBody = _jspx_th_shiro_005fhasPermission_005f0.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
   }
   if (_jspx_th_shiro_005fhasPermission_005f0.doEndTag()
       == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
     _005fjspx_005ftagPool_005fshiro_005fhasPermission_0026_005fname.reuse(
         _jspx_th_shiro_005fhasPermission_005f0);
     return true;
   }
   _005fjspx_005ftagPool_005fshiro_005fhasPermission_0026_005fname.reuse(
       _jspx_th_shiro_005fhasPermission_005f0);
   return false;
 }
Example #2
0
 private boolean _jspx_meth_shiro_005fhasPermission_005f0(PageContext _jspx_page_context)
     throws Throwable {
   PageContext pageContext = _jspx_page_context;
   JspWriter out = _jspx_page_context.getOut();
   //  shiro:hasPermission
   org.apache.shiro.web.tags.HasPermissionTag _jspx_th_shiro_005fhasPermission_005f0 =
       (org.apache.shiro.web.tags.HasPermissionTag)
           _005fjspx_005ftagPool_005fshiro_005fhasPermission_0026_005fname.get(
               org.apache.shiro.web.tags.HasPermissionTag.class);
   _jspx_th_shiro_005fhasPermission_005f0.setPageContext(_jspx_page_context);
   _jspx_th_shiro_005fhasPermission_005f0.setParent(null);
   // /WEB-INF/views/modules/sys/dictForm.jsp(31,68) name = name type = null reqTime = true
   // required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod
   // = false methodSignature = null
   _jspx_th_shiro_005fhasPermission_005f0.setName("sys:dict:edit");
   int _jspx_eval_shiro_005fhasPermission_005f0 =
       _jspx_th_shiro_005fhasPermission_005f0.doStartTag();
   if (_jspx_eval_shiro_005fhasPermission_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     do {
       out.write(
           (java.lang.String)
               org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                   "${not empty dict.id?'修改':'添加'}",
                   java.lang.String.class,
                   (PageContext) _jspx_page_context,
                   null,
                   false));
       int evalDoAfterBody = _jspx_th_shiro_005fhasPermission_005f0.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
   }
   if (_jspx_th_shiro_005fhasPermission_005f0.doEndTag()
       == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
     _005fjspx_005ftagPool_005fshiro_005fhasPermission_0026_005fname.reuse(
         _jspx_th_shiro_005fhasPermission_005f0);
     return true;
   }
   _005fjspx_005ftagPool_005fshiro_005fhasPermission_0026_005fname.reuse(
       _jspx_th_shiro_005fhasPermission_005f0);
   return false;
 }
Example #3
0
 private boolean _jspx_meth_shiro_005fhasPermission_005f1(
     javax.servlet.jsp.tagext.JspTag _jspx_th_form_005fform_005f0,
     PageContext _jspx_page_context,
     int[] _jspx_push_body_count_form_005fform_005f0)
     throws Throwable {
   PageContext pageContext = _jspx_page_context;
   JspWriter out = _jspx_page_context.getOut();
   //  shiro:hasPermission
   org.apache.shiro.web.tags.HasPermissionTag _jspx_th_shiro_005fhasPermission_005f1 =
       (org.apache.shiro.web.tags.HasPermissionTag)
           _005fjspx_005ftagPool_005fshiro_005fhasPermission_0026_005fname.get(
               org.apache.shiro.web.tags.HasPermissionTag.class);
   _jspx_th_shiro_005fhasPermission_005f1.setPageContext(_jspx_page_context);
   _jspx_th_shiro_005fhasPermission_005f1.setParent(
       (javax.servlet.jsp.tagext.Tag) _jspx_th_form_005fform_005f0);
   // /WEB-INF/views/modules/sys/dictForm.jsp(73,3) name = name type = null reqTime = true required
   // = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false
   // methodSignature = null
   _jspx_th_shiro_005fhasPermission_005f1.setName("sys:dict:edit");
   int _jspx_eval_shiro_005fhasPermission_005f1 =
       _jspx_th_shiro_005fhasPermission_005f1.doStartTag();
   if (_jspx_eval_shiro_005fhasPermission_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     do {
       out.write(
           "<input id=\"btnSubmit\" class=\"btn btn-primary\" type=\"submit\" value=\"保 存\"/>&nbsp;");
       int evalDoAfterBody = _jspx_th_shiro_005fhasPermission_005f1.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
   }
   if (_jspx_th_shiro_005fhasPermission_005f1.doEndTag()
       == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
     _005fjspx_005ftagPool_005fshiro_005fhasPermission_0026_005fname.reuse(
         _jspx_th_shiro_005fhasPermission_005f1);
     return true;
   }
   _005fjspx_005ftagPool_005fshiro_005fhasPermission_0026_005fname.reuse(
       _jspx_th_shiro_005fhasPermission_005f1);
   return false;
 }