• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

re body-content element for custom tags

 
Rina Magro
Ranch Hand
Posts: 63
  • 0
  • 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
 
Padma priya Gururajan
Ranch Hand
Posts: 437
  • 0
  • 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
  • 0
  • 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
 
Christophe Verré
Sheriff
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is something about the body tag content, from the faq.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic