A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
Help with the tag library..
Joined: Jun 19, 2006
Apr 08, 2009 03:04:11
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.
Have you checked out
subject: Help with the tag library..
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015