• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

body-content in tags

 
Bhavna Jharbade
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello everybody,

i think tags are the most confusing topic.I am very much confused about the valid values for body-content in the tags....so plz if anyone can tell me if i am correct. according to me

1)For Classical Custom Tags possible values are:empty,tagdependent,JSP(default)

2)For Simple Custom Tags possible values are:empty,tagdependent,scriptless.

3)For tag files(using tag directive) possible values for body-content are:empty,tagdependent,scriptless(default).

If the above is correct please let me know the default value in case of Simple Custom Tags.

Thanking in advance.
 
MInu
Ranch Hand
Posts: 517
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The possible body content values for simple tags,

scriptless(default)
tagdependent
empty


The possible body content values for classic tags,

JSP (Default)
tagdependent
empty.


Hope this will help you .

Thanks,
Vinod.
 
Narendra Dhande
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Possible values for Custom tags : JSP, scriptless,empty,tagdependent
Possible values for Simple tags : scriptless,empty,tagdependent
Possible values for Tag files : scriptless (default) ,empty,tagdependent

No defuult for Custom and Simple tag. <body-content> is mandatary in tld for these tags as per JSP spec 2.0.

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic