• Post Reply Bookmark Topic Watch Topic
  • New Topic

Tag Library Descriptor element boolean values

 
Tyronne Fernando
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Is it possible to have 'yes' in place of 'true' and 'no' in place of 'false' for elements like <required>, where it expects boolean values, in the TLDs?

Is it the same in deployment descriptor?

Thanks in advance.

Cheers,
Tyronne
 
Surajsingh Thakur
Ranch Hand
Posts: 124
Eclipse IDE MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Absolutely Right...Its pretty right to use yes/no instead of true/false respectively...

<required>yes</required> is same as <required>true</required>

Enjoy..
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!