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

Question about <body-content> tag value

 
Raghu Shapkota
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,
Below is the question from enthuware about the <body-Content> tag.

Question:- Write the body value of <body-content> element for a tag that is supposed to be used with a body but the body is not interpreted by the tag handler.
Ans:- answer they provided is JSP or scriptless, but i think the answer should be tagdependent.

I am confused as to why it is JSP or Scriptless.

Thanks
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the body needed to be interpreted by the tag, you would set the body-content to "tagdependent". Setting it to "JSP" allows the container to interpret the content before passing it to the tag (the tag doesn't interpret it). "scriptless" tells the container that there is no script and that the content should be passed to the tag "as is" (the tag doesn't interpret it).
 
Raghu Shapkota
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Christophe Verré wrote:If the body needed to be interpreted by the tag, you would set the body-content to "tagdependent". Setting it to "JSP" allows the container to interpret the content before passing it to the tag (the tag doesn't interpret it). "scriptless" tells the container that there is no script and that the content should be passed to the tag "as is" (the tag doesn't interpret it).


Thank you very much
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic