Or you use:
<logic:match name="BaseForm" property="whatever" value="true">
</logic:match>
Gary
>>> [EMAIL PROTECTED] 12/15/2005 6:52:42 AM >>>
Hi
Don't use this. Use the jstl tags instead. In this case <c:if
test="${sysvar=='loop'}">....</c:if>
If you read the tag doc's you will see that you are encouraged to
switch to the jstl tags in place og the struts tags. In so doing, use
the struts-el tag librarys
Hermod
-----Original Message-----
From: Legolas Woodland [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 15, 2005 1:44 PM
To: Struts Users Mailing List
Subject: Problem with using Logic:equla tag.
Hi
I have a un-natural problem here
Im trying to use :
[code]
<logic:equal name="sysvar" value="loop">
<td >
......
</td>
</logic:equal>
[/code]
it never enter the above block.
even i tried and showed sysvar by using the following code line in the
browser
[code]
<%=sysvar%>
[/code]
I can see that its value
is loop bu there is no luck to enter the above block.
No my question is :
while the value that is inside sysvar is equal to what Im checking with
Struts logic tag , why it never enter the block ?
is it an encoding problem ?
can some one please tell me how to write that conditional block in JSTL
?
maybe JSTL Do it correctly.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that DnB NOR
cannot
accept any payment orders or other legally binding correspondence with
customers as a part of an email.
This email message has been virus checked by the virus programs used
in the DnB NOR Group.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
__________________________________
Confidentiality Statement:
This email/fax, including attachments, may include confidential and/or
proprietary information and may be used only by the person or entity to which
it is addressed. If the reader of this email/fax is not the intended recipient
or his or her agent, the reader is hereby notified that any dissemination,
distribution or copying of this email/fax is prohibited. If you have received
this email/fax in error, please notify the sender by replying to this message
and deleting this email or destroying this facsimile immediately.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]