Re: How to compare string reference variables using ognl?

2011-12-13 Thread mohan rao
/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

Re: How to compare string reference variables using ognl?

2011-12-13 Thread Greg Lindholm
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

How to compare string reference variables using ognl?

2011-12-12 Thread mohan rao
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

Re: How to compare string reference variables using ognl?

2011-12-12 Thread mohan rao
='#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

Re: How to compare string reference variables using ognl?

2011-12-12 Thread Eric Lentz
'/ [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

Re: How to compare string reference variables using ognl?

2011-12-12 Thread Li Ying
.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

How to compare string reference variables using ognl?

2011-12-08 Thread mohan rao
://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.

Re: How to compare string reference variables using ognl?

2011-12-08 Thread Łukasz Lenart
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