aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes re body-content element for custom tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "re body-content element for custom tags" Watch "re body-content element for custom tags" New topic
Author

re body-content element for custom tags

Rina Magro
Ranch Hand

Joined: May 25, 2006
Posts: 63
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

Joined: Oct 05, 2006
Posts: 430
The body-content of a tag can be (a) TagDependent
(b) jsp (c) empty (d) scriptless
With regards,
Padma priya N.G.


Padma priya N.G.
Be the change you want to be - Mahatma Gandhi
Rina Magro
Ranch Hand

Joined: May 25, 2006
Posts: 63
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

Joined: Nov 24, 2005
Posts: 14687
    
  16

Here is something about the body tag content, from the faq.


[My Blog]
All roads lead to JavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: re body-content element for custom tags
 
Similar Threads
Question body-content
BODY-CONTENT element Values
Is body-content="JSP" useless now ?
Scripting inside tag body
Simple Tag Handler : body-content tag