Win a copy of Svelte and Sapper in Action this week in the JavaScript 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

TLD replated doubt

 
Ranch Hand
Posts: 383
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<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.
 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
dolly shah
Ranch Hand
Posts: 383
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
from the below link

http://www.javabeat.net/javabeat/scwcd/mocks/scwcd_1.4_mock_exam_questions_6.php
 
    Bookmark Topic Watch Topic
  • New Topic