• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Declare more than one tag-file inside one .tld file

 
Mahmoud Abdulmoniem
Greenhorn
Posts: 6
Eclipse IDE Hibernate Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,

i have my tag files and .tld files packed in a single jar file

Here is the .tld file :



and here are the 2 tag files :

header.tag



selectElement.tag



Now, the problem is as the following :

whenever i'm trying to invoke the header tag from a JSP like this :


it gives the following error :

Multiple annotations found at this line:
- Missing required attribute
"name"
- Missing required attribute "size"
- Missing required attribute
"optionList"
- Tag (app:headerFile) must be
empty


it asks for attributes defined for the other tag file.

i tried to create 2 different .tld files and declare one tag-file per each, but i got the same problem.

appreciate your help regarding this problem
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic