This is a migrated thread and some comments may be shown as answers.

Used shiro tags or other tags in kendo tags

1 Answer 65 Views
Grid
This is a migrated thread and some comments may be shown as answers.
it
Top achievements
Rank 1
it asked on 31 Dec 2014, 05:23 AM
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!

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 02 Jan 2015, 08:17 AM
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!
 
Tags
Grid
Asked by
it
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or