Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

CustomTags  RSS feed

 
Rahesh Kumar
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am new to custom tags,i am trying custom tags with body content.Is it necessary to set the bodycontent tag in tld file to JSP or jspcontent or will the tag work if the bodycontent tag is set to empty?

i need ur valuable suggestions.
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
According to Sun's tutorial on "Tags With a Body", the value of the bodycontent element must be JSP or tagdependent.
 
Rahesh Kumar
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI Dirk,
Thanks for your valuable suggestion,I tried setting the body content as empty for custom tags with body content it works fine too,is there any particular reason for this.I am bit confused now whether to set it or not
can you provide me with a clear explanation on this

Thanks
Rahesh
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!