Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

c:choose, c:when, c:otherwise : I can't find what's wrong  RSS feed

 
Bupjae Lee
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Facelet XHTML code is:



The Result HTML is:



Test of <c:when> is obviously false, but A was chosen.

What's wrong with this?



ps) Someone would say it is a bad idea to use JSTL core tag in Facelet, but I want to skip this argument.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!