RE: Exception thrown in OGNL evaluation.

2007-08-23 Thread Fowler, Perryn
PROTECTED] Sent: Monday, 20 August 2007 1:57 PM To: Struts Developers List Subject: Re: Exception thrown in OGNL evaluation. Hi, Rene, 2007/8/17, Rene Gielen <[EMAIL PROTECTED]>: > > You won't get NPE in this scenario. Ognl automatically create instance > > for you. I believe yo

RE: Exception thrown in OGNL evaluation.

2007-08-22 Thread Fowler, Perryn
PROTECTED] Sent: Monday, 20 August 2007 1:57 PM To: Struts Developers List Subject: Re: Exception thrown in OGNL evaluation. Hi, Rene, 2007/8/17, Rene Gielen <[EMAIL PROTECTED]>: > > You won't get NPE in this scenario. Ognl automatically create instance > > for you.

Re: Exception thrown in OGNL evaluation.

2007-08-19 Thread Ruimo Uno
Hi, Rene, 2007/8/17, Rene Gielen <[EMAIL PROTECTED]>: > > You won't get NPE in this scenario. Ognl automatically create instance > > for you. I believe you know about this feature. > > > > Not when trying to read the property, only when applying values. The first > invocation with null foo object

Re: Exception thrown in OGNL evaluation.

2007-08-17 Thread Rene Gielen
Am Fr, 17.08.2007, 11:28, schrieb Ruimo Uno: > Rane, > > 2007/8/17, Rene Gielen <[EMAIL PROTECTED]>: >> Ruimo, >> >> see below >> >> Ruimo Uno schrieb: >> > Hi, thanks for your comment. >> > >> > 2007/8/17, Rene Gielen <[EMAIL PROTECTED]>: >> >> It's no bug, it's a feature... >> >> >> >> The policy

Re: Exception thrown in OGNL evaluation.

2007-08-17 Thread Ruimo Uno
Rane, 2007/8/17, Rene Gielen <[EMAIL PROTECTED]>: > Ruimo, > > see below > > Ruimo Uno schrieb: > > Hi, thanks for your comment. > > > > 2007/8/17, Rene Gielen <[EMAIL PROTECTED]>: > >> It's no bug, it's a feature... > >> > >> The policy for model access (e.g. property calls) via expression > >> e

Re: Exception thrown in OGNL evaluation.

2007-08-17 Thread Rene Gielen
Ruimo, see below Ruimo Uno schrieb: Hi, thanks for your comment. 2007/8/17, Rene Gielen <[EMAIL PROTECTED]>: It's no bug, it's a feature... The policy for model access (e.g. property calls) via expression evaluation is fail silent. It would cause tons of exceptions if ognl expression evaluat

Re: Exception thrown in OGNL evaluation.

2007-08-16 Thread Ruimo Uno
Hi, thanks for your comment. 2007/8/17, Rene Gielen <[EMAIL PROTECTED]>: > It's no bug, it's a feature... > > The policy for model access (e.g. property calls) via expression > evaluation is fail silent. It would cause tons of exceptions if ognl > expression evaluation / property access would not

Re: Exception thrown in OGNL evaluation.

2007-08-16 Thread Rene Gielen
It's no bug, it's a feature... The policy for model access (e.g. property calls) via expression evaluation is fail silent. It would cause tons of exceptions if ognl expression evaluation / property access would not swallow them. The business logic access methods of your action, such as prepare(),