Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Default Value of body-content

 
PRavi kumar
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

what is the default value of <body-content> for classic tags.

I read the difault value of tag files are scriptless. is this correct.
 
Vassili Vladimir
Ranch Hand
Posts: 1585
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

For tag files, the default is scriptless, but, for Classic and Simple tags, and because the JSP is invalid for Classic tags, there's no default value for body-content, so you have to choose one explicitly.

Best of luck ...
 
Vassili Vladimir
Ranch Hand
Posts: 1585
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, the JSP is invalid for Simple tags
 
Amit Goyal
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The default value for tag files is "Scriptless".
While for classic and simple tags <body-content> tag is mandatory in .tld file so it do not make any sense to have default value for them.
[ July 23, 2007: Message edited by: Amit Goyal ]
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please refer to this FAQ :
http://faq.javaranch.com/view?BodyTagContent
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic