Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Default value for body-content

 
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