Guys, I have the following pseudo-code:

<bean:define id="isEmpty" value="true" type="java.lang.String"/>

// begin: some iteration
        <%isEmpty="false";%>
// end: some iteration

        
... then I want to test if isEmpty is true. The body of following code
always get executed:
<logic:equal name="isEmpty" value="true">
        // some code that always run
</logic:equal>


... though, the behavior I expected to get is seen only when using
scriptlets, as follow:
<% if ("true".equals(isEmpty)) { %>
        // works fine
<% } %>


Any ideas on why this happens are much appreciated.

Regards,
Filipe

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to