:41 pm
Subject: Re: struts2 ognl confusion
questionId is just a string. so dont think its equals or hash problem.
wes, what you suggested I've put that in place and testing to see if error
comes again.
On Wed, Aug 5, 2009 at 1:35 PM, wrote:
>
> what type is questionId? You m
t in this document
> http://struts.apache.org/2.1.6/docs/iterator.html
> id attribute is deprecated.
>
> Louis
>
>
>
> From: Chris Pratt
> To: Struts Users Mailing List
> Sent: Wednesday, August 5, 2009 4:54:31 PM
> Subject: Re: struts
in it.
> Chris
>
>
>
>
>
>
>
> -Original Message-
> From: Wes Wannemacher
> To: Struts Users Mailing List
> Sent: Wed, Aug 5, 2009 1:09 pm
> Subject: Re: struts2 ognl confusion
>
>
>
>
>
>
>
>
>
>
> I would try to fiddle ar
what type is questionId? You might have a problem with the
equals() in it.
Chris
-Original Message-
From: Wes Wannemacher
To: Struts Users Mailing List
Sent: Wed, Aug 5, 2009 1:09 pm
Subject: Re: struts2 ognl confusion
I would try to fiddle around with incorrectQs
I would try to fiddle around with incorrectQs to see why .contains
isn't working... I'm guessing that if you iterate both lists, although
not efficient, you might get better results -
Print Something
On Wed, Aug 5, 2009 at 12:22 PM, Bhaarat Sharma wrote:
> looks like it is not wor
s Mailing List
> Sent: Wednesday, August 5, 2009 4:54:31 PM
> Subject: Re: struts2 ognl confusion
>
> You must be using a fairly old version of Struts 2. The difference between
> the ${} and the # versions is that the ${} is a JSTL EL expression that is
> no longer allowed inside stru
but in this document
http://struts.apache.org/2.1.6/docs/iterator.html
id attribute is deprecated.
Louis
From: Chris Pratt
To: Struts Users Mailing List
Sent: Wednesday, August 5, 2009 4:54:31 PM
Subject: Re: struts2 ognl confusion
You must be using a fairly
looks like it is not working only in contains.I tried the following:
Print
Something
Line 6 prints fine and prints questionId...:(
On Wed, Aug 5, 2009 at 12:09 PM, Bhaarat Sharma wrote:
> thanks for the explanation chris. but usi
thanks for the explanation chris. but using what you suggested is not making
Print Something appear even once. so the test statement is never evaluated
to true. ...leading me to suspect that ognl expression is not working.
I am not sure whether the random error that is happening for us is being
cau
You must be using a fairly old version of Struts 2. The difference between
the ${} and the # versions is that the ${} is a JSTL EL expression that is
no longer allowed inside struts (s:) tags for security reasons. The #
version is OGNL and references the variable that Wes tried to define. Try
us
oh and attribute 'var' seems to be invalid according to the TLD
On Wed, Aug 5, 2009 at 11:42 AM, Bhaarat Sharma wrote:
> ok thanks Wes. yeah that is def. more readable.
> could you please tell me what the difference is in doing
>
> VS.
>
>
> beside the question.questionId part. I am mo
ok thanks Wes. yeah that is def. more readable.
could you please tell me what the difference is in doing
VS.
beside the question.questionId part. I am more concerned about difference in
'$' vs. '#'
On Wed, Aug 5, 2009 at 11:39 AM, Wes Wannemacher wrote:
> I think this would be more re
I think this would be more readable -
Print Something
-Wes
On Wed, Aug 5, 2009 at 11:35 AM, Bhaarat Sharma wrote:
> I have the following code in a jsp
> Line1:
> Line2:
> Line3: Print
> Something
> Line4:
> Line5:
>
> On Line1 questions is a list. This list c
13 matches
Mail list logo