struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: [s2] Would like to do <s:if test="foo.contains('N')">
Date Wed, 04 Mar 2009 15:07:43 GMT
jeto wrote:
> <s:if test="foo.contains('N')">
> 
> Is it possible do to that or not. Everything I tried yet gives me a false in
> the test statement.
> 
> Any ideas?

I'd guess it's a string v. char issue, without actually knowing what you 
have in your map:

http://struts.apache.org/2.x/docs/why-wont-the-if-tag-evaluate-a-one-char-string.html

Dave

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


Mime
View raw message