Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

TLD - Default value of <required> element

 
Kathiresan Chinna
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

In TLD file for a custom tag
<attribute>
<name>
<required>
</attribute>

The <rtexprvalue> is optional and default is false.

Can anybody tell, whether <required> element is mandatory or not ?
if optional then what is the default value ?

Thanks
Kathir
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can check this kind of thing in the JSP specification (download it if you don't have it yet). It's an optional tag, and it defaults to false.
 
Kathiresan Chinna
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Christophe

I have JavaServer Pages™ Specification Version2.1
I see this only in attribute directive

 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Be careful, you have to use the JSP 2.0 spec. The XML Schema is listed at Appendix JSP.C.1XML Schema for TLD, JSP 2.0. You'll find the description for all tags there.
 
Kathiresan Chinna
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
oh.. Thankyou
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic