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

[Solved] tag's name

2 Answers 587 Views
General Disccussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Missing User
Missing User asked on 11 Jul 2020, 11:29 AM

Hello, 

I have a question about tag's name in kendoUI for jsp, do you follow any naming convention in tag's name? page Code Conventions for the JavaServer Pages was the only thing that I found about naming convention in jsp files, according to what I have studied in that page , mulitple worlds in file names should started with letter-case and another words should commences with an upper-case letter, but multiple worlds in kendo tags seperated by hyphen(-).

I would be appreciated if tell me what is the best practice for naming tags files in jsp.

 

2 Answers, 1 is accepted

Sort by
0
Accepted
Neli
Telerik team
answered on 14 Jul 2020, 01:39 PM

Hello Saeed,

There are tags in Telerik UI for JSP that includes dashes '-'. Such tags are the child tags. For example, the dataSource tag is using camel case.

 <kendo:dataSource>

However, in case schema or transport options of the dataSource should be used, then the tag is containing a dash.

 <kendo:dataSource>
            <kendo:dataSource-schema data="data" total="total" />
            <kendo:dataSource-transport>

Another example is using MultiColumnComboBox. The class is using the camel casing:

 <kendo:multiColumnComboBox

The child tag for the columns is using a dash.

<kendo:multiColumnComboBox-columns>

I hope you will find the provided information helpful.

Regards,
Neli
Progress Telerik

0
Missing User
answered on 14 Jul 2020, 04:25 PM
Thank a lot for comprehensive explanation.
Tags
General Disccussions
Asked by
Missing User
Answers by
Neli
Telerik team
Missing User
Share this question
or