Hello,

I have a repeat nested tag logic like this :

The Struts Documentation on ligoc tags mentions this for the logic:equal
tag. Why is it that it can only be checked against one contant value ? 

equal - Evaluate the nested body content of this tag if the requested
variable is equal to the specified value. 
Compares the variable specified by one of the selector attributes against
the specified constant value. The nested body content of this tag is
evaluated if the variable and value are equal. 

Can I use something like this :

<logic:iterate id="resultCounter" > 
        <logic:equal value="changing value in each iterate tag based on id
resultCounter">
                <logic:iterate "if resultCounter matches the value, then get
the results">
                        <html:text name="resultCounter"
property="value1Text">
                </logic:iterate>
        </logic:equal>
</logic:iterate>
        
This is not working even if conditions are not matching. It prints the
html:text even if equal is not matching !!

Any inputs would be appreciated..

Cheers :)
DISCLAIMER: The information in this message is confidential and may be
legally privileged. It is intended solely for the addressee.  Access to this
message by anyone else is unauthorised.  If you are not the intended
recipient, any disclosure, copying, or distribution of the message, or any
action or omission taken by you in reliance on it, is prohibited and may be
unlawful.  Please immediately contact the sender if you have received this
message in error. Thank you.

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

Reply via email to