Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

RE: [s2] String comparison with OGNL

Dave Newton

2007-01-23


From: Wesley Wannemacher [mailto:WesW@(protected)]
> <s:property value="#parameters.addrType == 'billing'"/>

Does wrapping it with %{} do it?

<s:property value="%{#parameters.addrType == 'billing'}"/>

I still get a little confused when dealing with the different markups.

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.