Register / Login
Win a copy of
Clojure in Action
this week in the
Help with the tag library..
posted 6 years ago
I want to code following
code line using tag library:
if(StructureConstants.ATTR_PI_GUI_VISIBLE == (StructureConstants.ATTR_PI_GUI_VISIBLE & attr.getProcessingInstructions()))
I need to use logic:equal tag, that I am clear. Here is something which I can think off.. but I know it wont suffice:
<logic:equal name="attribute" property="processingInstructions" value="<%=StructureConstants.ATTR_PI_GUI_VISIBLE%>"> </logic:equal>
Problem is I need to perform some logical operation on property 'processingInstructions' before comparing it, but I am not sure how I can do it with logic tag.
Any help would be highly appreciated.
I agree. Here's the link:
logic:match , logic:notEqual not working
logic equal syntax
No equal tag error even when equal tag present in struts-logic.tld
Struts 1.1: Need help with logic:iterate and logic:equals tag
logic:iterate and logic:radio confusion