[OT] Re: OGNL Insanity

2008-02-23 Thread Antonio Petrelli
2008/2/23, Chris Pratt <[EMAIL PROTECTED]>: > '' == 'dependent': > Uh, it seems like a Quine :-) Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: OGNL Insanity

2008-02-22 Thread Dave Newton
--- Chris Pratt <[EMAIL PROTECTED]> wrote: > It's returning an array of Strings (since this is a parameter). But > if it's used one way it is treated as a single value, if it is used a > slightly different way, it is treated as an array, Guess so, although I have to admit I'd probably never use

Re: OGNL Insanity

2008-02-22 Thread Chris Pratt
It's returning an array of Strings (since this is a parameter). But if it's used one way it is treated as a single value, if it is used a slightly different way, it is treated as an array, that is not developer friendly. In this case. If it is used as: '' The value returned is 'dependent' whic

Re: OGNL Insanity

2008-02-22 Thread Dave Newton
--- Chris Pratt <[EMAIL PROTECTED]> wrote: > On Fri, Feb 22, 2008 at 4:10 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > > --- Chris Pratt <[EMAIL PROTECTED]> wrote: > > > I am seeing the most unexplainable results imaginable. I have the > > > following line of OGNL: > > > > > > '' == 'dependen

Re: OGNL Insanity

2008-02-22 Thread Chris Pratt
On Fri, Feb 22, 2008 at 4:10 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > --- Chris Pratt <[EMAIL PROTECTED]> wrote: > > I am seeing the most unexplainable results imaginable. I have the > > following line of OGNL: > > > > '' == 'dependent': > > > > > > Which is outputting: > > > > 'dep

Re: OGNL Insanity

2008-02-22 Thread Dave Newton
--- Chris Pratt <[EMAIL PROTECTED]> wrote: > I am seeing the most unexplainable results imaginable. I have the > following line of OGNL: > > '' == 'dependent': > > > Which is outputting: > > 'dependent' == 'dependent': false > > How is that even possible? I am writing out the value of the d

OGNL Insanity

2008-02-22 Thread Chris Pratt
I am seeing the most unexplainable results imaginable. I have the following line of OGNL: '' == 'dependent': Which is outputting: 'dependent' == 'dependent': false How is that even possible? I am writing out the value of the display request parameter and it's value is the string 'dependent'