This week's book giveaway is in the Java 9 forum.
We're giving away four copies of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications and have Sander Mak & Paul Bakker on-line!
See this thread for details.
Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Default value for body-content  RSS feed

 
shiva viswanathan
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

The description for tag element is
<!ELEMENT tag
(name, tag-class, tei-class?, body-content?, display-name?, small-icon?, large-icon?, description?, variable*, attribute*, example?) >

which indicates that body-content is optional but HFSJ
specifies that it is required in case of tag handlers
but not required in case of tag files.Further it specifies the default
value for tag files is scriptless

Can somebody tell me the default value for body-content in case of tag handlers

Thanks
Shiva
 
J Johny Rufus
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Shiva,

<body-content> is optional, and the default values are as follows,

For
1) TagFiles and
2)SimpleTagHandlers,
the default value is "scriptless" ,
and the only other two options available are "tagdependent" and "empty" .
a <body-content> of "JSP" is illegal for TagFiles and SimpleTags.

For
3)CustomTags
the default value is "JSP"

Thanks and Regards,
Rufus
 
shiva viswanathan
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot , Rufus
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!