/How-to-compare-string-reference-variables-using-ognl-tp5060783p5061242.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail
On Mon, Dec 12, 2011 at 3:08 AM, mohan rao mohanara...@gmail.com wrote:
Please delete my previous thread my query was not posted completely.
s:set var=selectedOffer value=%{offers.dicountkey}/
s:iterator var =entry value = #session.eligibleEcOffersMap
s:set var=queryString
is
printing.
T/Fs:property value=#selectedOffer== #queryString/ Always printing false
even both are having same values.
Thanks.
--
View this message in context:
http://struts.1045723.n5.nabble.com/How-to-compare-string-reference-variables-using-ognl-tp5067537p5067537.html
Sent from the Struts - User
='#selectedOffer==#queryString'/ Printing false even they
are same. (I think it's checking reference.)
--
View this message in context:
http://struts.1045723.n5.nabble.com/How-to-compare-string-reference-variables-using-ognl-tp5060783p5067525.html
Sent from the Struts - User mailing list archive at Nabble.com
'/
[1] - http://struts.apache.org/2.2.1/docs/set.html
From: mohan rao mohanara...@gmail.com
To: user@struts.apache.org
Date: 12/12/2011 09:24 AM
Subject:Re: How to compare string reference variables using ognl?
s:set var=selectedOffer value=%{ecOffers.dicountKey}/
s:iterator var
.nabble.com/How-to-compare-string-reference-variables-using-ognl-tp5060783p5067525.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional
://struts.1045723.n5.nabble.com/How-to-compare-string-reference-variables-using-ognl-tp5060783p5060783.html
Sent from the Struts - User mailing list archive at Nabble.com.
Compering ? What I see is that you're nesting tags
2011/12/9 mohan rao mohanara...@gmail.com:
s:set var=quot;selectedOfferquot; value='lt;s:property
value=quot;#parameters.offerType[0]quot;/'/
Even if the both values are same it's giving false.
It's giving true only when both are
8 matches
Mail list logo