Hi There,
It would be nice if i could do that:
<
kendo:grid
name
=
"verbrauchsprofile"
<c:if
test
=
"hasPermissionToCreate"
>
<
kendo:grid-toolbar
>
<
kendo:grid-toolbarItem
name
=
"create"
text
=
"Neues Verbrauchsprofil"
/>
</
kendo:grid-toolbar
>
</
c:if>
.....
</
kendo:grid
>
now there is an Exception
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)
By disallowing other Tags than Kendo Tags, you obstruct many opportunities of what you can do.
I need that to check permissions, and so on and not every tag has an "hidden" attribute to change its visibility