• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Tags and the <body-content> element

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check this FAQ.
 
Jim So
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Awesome thanks so much!!
 
Ranch Hand
Posts: 352
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
No. No. No. No. Changed my mind. Wanna come down. To see this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic