You could define a var with 
<bean:define id="view" property="SystemConstants.VIEW" > 

and then compare value of view with "N"


Panchasheel


-----Original Message-----
From: Vijay K Hegde [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 10:47 AM
To: Struts Users Mailing List
Subject: logic:equal


Hi All,

  How do i use a static attribute of a class and compare with a value="N"
SystemConstants.VIEW 
<[EMAIL PROTECTED] import="com.tgt.utility.SystemConstants"%>

<logic:equal property="SystemConstants.VIEW" value="N" >  
                          <A HREF="javascript:posCashier()"><img
                          src="<%=context%>/images/btn_cashier_message.gif"
border="0"></A>
</logic:equal>

Vijay K. Hegde



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

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

Reply via email to