Register / Login
Win a copy of
Murach's Python Programming
this week in the
this forum made possible by our volunteer staff, including ...
Roel De Nijs
Stephan van Hulst
Help with the tag library..
posted 8 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.
It is sorta covered in the
JavaRanch Style Guide
Boost this thread!
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