RE: Component to format null values

2010-10-14 Thread Jim O'Callaghan
estry users Subject: Re: Component to format null values you opened my eyes. Thanks. On Thu, Oct 14, 2010 at 12:21 PM, Jim O'Callaghan wrote: > I think you can use the format: > > > > ... where if any of the hierarchy is null is will stop trying to evaluate > methods

Re: Component to format null values

2010-10-14 Thread Dmitriy Vsekhvalnov
you opened my eyes. Thanks. On Thu, Oct 14, 2010 at 12:21 PM, Jim O'Callaghan wrote: > I think you can use the format: > > > > ... where if any of the hierarchy is null is will stop trying to evaluate > methods / properties on subordinates, avoiding your NPE. > > Regards, > Jim. > > -Origina

Re: Component to format null values

2010-10-14 Thread Andreas Andreou
http://tapestry.apache.org/tapestry5.1/guide/propexp.html The "safe dereference operator" On Thu, Oct 14, 2010 at 12:03, Muhammad Mohsen wrote: > Excuse me, I'm not questioning the functioning of your mentioned solution > but where in the documentation is that ? I wanna read more about this. > T

Re: Component to format null values

2010-10-14 Thread Muhammad Mohsen
Excuse me, I'm not questioning the functioning of your mentioned solution but where in the documentation is that ? I wanna read more about this. Thanks On Thu, Oct 14, 2010 at 10:21 AM, Jim O'Callaghan wrote: > I think you can use the format: > > > > ... where if any of the hierarchy is null is

RE: Component to format null values

2010-10-14 Thread Jim O'Callaghan
I think you can use the format: ... where if any of the hierarchy is null is will stop trying to evaluate methods / properties on subordinates, avoiding your NPE. Regards, Jim. -Original Message- From: Dmitriy Vsekhvalnov [mailto:dvsekhval...@gmail.com] Sent: 14 October 2010 09:01 To: