• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

question about <body-content>

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,


In custom tags, the <body-content> is optional or mandatory?


what happens if I let it empty, like this <body-content></body-content>?
what is it's default value

Thanks
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In custom tags, the <body-content> is mandatory.It takes one value from the following values: empty,scriptless,tagdependent or JSP.
<body-content>empty</body-content> means the tag must not have any body
<body-content>scriptless</body-content> means the tag must not have scripting elements
<body-content>tagdependent</body-content>means the tag body is treated as plain text
<body-content>JSP</body-content>means the tag body can have anything that can go inside a jsp
 
Malika Ben Aziz
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Shoban Babu wrote:In custom tags, the <body-content> is mandatory.It takes one value from the following values: empty,scriptless,tagdependent or JSP.
<body-content>empty</body-content> means the tag must not have any body
<body-content>scriptless</body-content> means the tag must not have scripting elements
<body-content>tagdependent</body-content>means the tag body is treated as plain text
<body-content>JSP</body-content>means the tag body can have anything that can go inside a jsp


OK, thanks
but what id It's left empty

<body-content> </body-content>


What is the default value?
 
Sheriff
Posts: 9707
43
Android Google Web Toolkit Hibernate IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check this faq. The body-content tag is optional for classic tags...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic