struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torgeir Veimo <torg...@vertech.no>
Subject Re: logic tag: checking presense of key or value in a map?
Date Tue, 26 Feb 2002 09:38:08 GMT
Torgeir Veimo wrote:
> 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>

I guess I have to do this myself. I need a <logic:containsKey value=""> 
and <logic:containsValue value="">.



-- 
-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