• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tags and the <body-content> element

 
Jim So
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I keep on getting confused about which types of tags can use which types of body-content values.

Can anyone provide me with a list of each?

e.g.

Custom Tags: scriptless, empty, tagdependent, JSP
Simple Tag Handler: scriptless, empty, tagdependent, JSP
Classic Tag Handler: scriptless, empty, tagdependent, JSP
Tag file: scriptless, empty, tagdependent

Is that right? you can use all of the types in any tag except that tag files cant use JSP, as they cannot accept scripting in the body?
 
Dumitru Postoronca
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Simple tags do not have the JSP option.
Also, I think custom tags means all 3 types of tags: simple, classic and tag files, so there isn't any configuration for it, it's just used to describe a grouping.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check this FAQ.
 
Jim So
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Awesome thanks so much!!
 
Harshana Dias
Ranch Hand
Posts: 348
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dumitru Postoronca wrote:Simple tags do not have the JSP option.
Also, I think custom tags means all 3 types of tags: simple, classic and tag files, so there isn't any configuration for it, it's just used to describe a grouping.


It said in HFSJ page 482 custom tag body can be JSP.

By the way what is JSP really meant by..i mean JSP is a page know with scripting,scripting expreseions,declarations, EL language etc. ?
it makes no sense to me body can be a JSP...

some one please explain this?

Thank You.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic