Used shiro tags or other tags in kendo tags

2 posts, 0 answers
  1. it
    it avatar
    1 posts
    Member since:
    Jun 2014

    Posted 30 Dec 2014 Link to this post

    I want to use shiro tags in jsp pages,like  this : <shiro:hasPermission name="user:create"><kendo:grid-toolbarItem name="create"/> </shiro:hasPermission>,

    But there is an exception when i run this page.Exception Informations as below :

    javax.servlet.jsp.JspException: The <kendo:grid-toolbarItem> tag should be nested in a <kendo:grid-toolbar> tag.
    at com.kendoui.taglib.BaseTag.findParentWithClass(BaseTag.java:133)
    at com.kendoui.taglib.grid.ToolbarItemTag.doEndTag(ToolbarItemTag.java:21)
    at org.apache.jsp.WEB_002dINF.jsp.user.list_jsp._jspx_meth_kendo_005fgrid_002dtoolbarItem_005f0(list_jsp.java:461)
    ......................................

     javax.servlet.jsp.JspException: The <kendo:grid-toolbarItem> tag should be nested in a <kendo:grid-toolbar> tag.] with root cause
     javax.servlet.jsp.JspException: The <kendo:grid-toolbarItem> tag should be nested in a <kendo:grid-toolbar> tag.

    How can I solve this problem? or How can I use other tags in kendo tags?  thinks!
  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 02 Jan 2015 Link to this post

    Hello,

    Currently this isn't supported. As the exception suggests the toolbarItem should be nested in a toolbar tag.

    Regards,
    Atanas Korchev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. UI for ASP.NET AJAX banner
Back to Top