aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes TLD replated doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "TLD replated doubt" Watch "TLD replated doubt" New topic
Author

TLD replated doubt

dolly shah
Ranch Hand

Joined: Jun 18, 2007
Posts: 383
<taglib>
...
<tag>
<name>myTag</name>
<tag-class>MyTag</tag-class>
<tei-class>MyTagInfo</tei-class>
<body-content>JSP</body-content>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
</attribute>
</tag>
...
</taglib>


I have taken this piece of TLD file from the mock exam. They have given, this is a right answer. But I have not seen <tei-class>MyTagInfo</tei-class> element so that I did not answer this option. Is there any element like this? please clear my doubt.


SCJP-1.5<br />SCWCD-1.4
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

From which mock exam?

I don't think TagExtraInfo is on the exam, but it is an optional element on the TLD. You can use it to point to a special class you write that will check that the user of your tag uses only valid attribute values.

More Info


A good workman is known by his tools.
dolly shah
Ranch Hand

Joined: Jun 18, 2007
Posts: 383
from the below link

http://www.javabeat.net/javabeat/scwcd/mocks/scwcd_1.4_mock_exam_questions_6.php
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: TLD replated doubt