struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torgeir Veimo <torg...@vertech.no>
Subject logic tag: checking presense of key or value in a map?
Date Tue, 26 Feb 2002 08:09:48 GMT
Is there a simple way of checking wether a map contains a given key or 
value?

I tried something like

<logic:equal name="child" property="properties.key" value="keyname">
</logic:equal>

but I'm not shure if what I'm trying to do is supported. (The "child" 
bean has a method Map getProperties().)

-- 
-Torgeir


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message