| Author |
TLD - Default value of <required> element
|
Kathiresan Chinna
Ranch Hand
Joined: Aug 17, 2008
Posts: 115
|
|
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
Joined: Nov 24, 2005
Posts: 14685
|
|
|
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.
|
[My Blog]
All roads lead to JavaRanch
|
 |
Kathiresan Chinna
Ranch Hand
Joined: Aug 17, 2008
Posts: 115
|
|
Thanks Christophe
I have JavaServer Pages™ Specification Version2.1
I see this only in attribute directive
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14685
|
|
|
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
Joined: Aug 17, 2008
Posts: 115
|
|
|
oh.. Thankyou
|
 |
 |
|
|
subject: TLD - Default value of <required> element
|
|
|