I am hoping that someone could point me in the right direction.
 I have been searching the archives and have not come accross anything that
I can relate to.

Using the equal tags, what is the best way to compare a value retieved from
a Hashmap?

I would like to put a Hashmap (or similar)  into request scope and use the
logic:equals tag. and do something like this.

<logic:equals name="mapName" property="mapkey1" value="<%= Constant.value
%>" > Show A </logic:equals>
<logic:equals name="mapName" property="mapkey2" value="<%= Constant.value
%>" > Show B </logic:equals>
<logic:equals name="mapName" property="mapkey3" value="<%= Constant.value
%>" > Show C </logic:equals>

Do I need to wrap this in simple class?
The docs make reference to the support of indexed properties, is there a
way to get the tag to look up the name of the key?


Thanks All



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

Reply via email to