Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

logic:present

 
madhuri rajan
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Here is a very basic question.

Can't I use <c:when> inside a <logic resent> tag? If so, why not? My purpose is to dynamically disable a dropdown inside the <logic resent>.
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you can use a c:when tag within a logic:present tag. However, don't forget that a c:when tag must always be embedded in a c:choose tag.
 
madhuri rajan
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you. I just missed the <c:choose>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic