aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes jdiscusss Question 2351 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "jdiscusss Question 2351" Watch "jdiscusss Question 2351" New topic
Author

jdiscusss Question 2351

jyothi sanka
Ranch Hand

Joined: Aug 27, 2001
Posts: 39
Hi
there is a Question in Jdiscuss
<tag>
<name>SmilyTag</name>
<tag-class>com.enthuware.ctags.SmilyTag</tag-class>
<description>
Replaces emoticons such as , , and with images.
</description>
<body-content>tagdependent</body-content>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>



Which of the following statements regarding the above tag are correct?


they gave answer
It must implement BodyTag interface

why should that taghandler implements BodyTag interface?

tahnks,
Jyothi
Jose Esteban
Ranch Hand

Joined: Nov 28, 2004
Posts: 102
If the tag handler needs to manipulate the body (as this is the case, since it must replace the emoticons), then the tag handler must implement BodyTag.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: jdiscusss Question 2351
 
Similar Threads
Mock quesion on taghandlers
TLD Doubt
JWebPlus Question - Custom Tag Developement
Question on tld
Question on Custom tags