wood burning stoves 2.0*
The moose likes Struts and the fly likes logic:present Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "logic:present" Watch "logic:present" New topic


madhuri rajan

Joined: May 07, 2007
Posts: 28
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

Joined: Feb 15, 2005
Posts: 4864
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.

Consultant, Sima Solutions
madhuri rajan

Joined: May 07, 2007
Posts: 28
Thank you. I just missed the <c:choose>
I agree. Here's the link: http://aspose.com/file-tools
subject: logic:present
Similar Threads
Problem with a select tag
struts -- Cannot find bean under name indexedWorkInProgressVO
why this logic:present can't work?
When to use logic:present tag
problems with bean:write