This week's book giveaway is in the Open Source Projects forum.
We're giving away four copies of Spark in Action and have Jean-Georges Perrin on-line!
See this thread for details.
Win a copy of Spark in Action this week in the Open Source Projects forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

re body-content element for custom tags

 
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
I was reading SCWCD book. It says:
The <body-content> element of <tag> can be one of either 3 or 4 values, DEPENDING on the type of tag( i take this means depending whether tag is simple or classic).
Can somebody tell me the 3 of 4 possible values for simple and classic tags, explainin which are for which type of tag?
thanks loads
regards
Rina
 
Ranch Hand
Posts: 437
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The body-content of a tag can be (a) TagDependent
(b) jsp (c) empty (d) scriptless
With regards,
Padma priya N.G.
 
Rina Magro
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this thread suggests that simple tag is not allowed JSP value whilst classic is along with the other 3 values:


Is this correct?
So does this mean i cannot use jsp scripting in simple tags?
If i have a classic tag nested in a simple tag, can the classic tag have scripting inside its body, if not please why?
thanks
regards
Rina
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is something about the body tag content, from the faq.
 
    Bookmark Topic Watch Topic
  • New Topic