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
NPE. > > Regards, > Jim. > > -Original Message- > From: Dmitriy Vsekhvalnov [mailto:dvsekhval...@gmail.com] > Sent: 14 October 2010 09:01 > To: users@tapestry.apache.org > Subject: Component to format null values > > Hello all, > > i'm looking to some approach t

Re: Component to format null values

2010-10-14 Thread Andreas Andreou
n subordinates, avoiding your NPE. >> >> Regards, >> Jim. >> >> -Original Message- >> From: Dmitriy Vsekhvalnov [mailto:dvsekhval...@gmail.com] >> Sent: 14 October 2010 09:01 >> To: users@tapestry.apache.org >> Subject: Component to forma

Re: Component to format null values

2010-10-14 Thread Muhammad Mohsen
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: users@tap

RE: Component to format null values

2010-10-14 Thread Jim O'Callaghan
: users@tapestry.apache.org Subject: Component to format null values Hello all, i'm looking to some approach to render property value or some default string if value is null. Something like: I have no problem to implement such component,but i want this to work with property chains as

Component to format null values

2010-10-14 Thread Dmitriy Vsekhvalnov
Hello all, i'm looking to some approach to render property value or some default string if value is null. Something like: I have no problem to implement such component,but i want this to work with property chains as well: where i want default string to be rendered, if any of intermediat