Re: OGNL PropertyAccessor and null handling best practices

2007-04-02 Thread Martino Piccinato
Yes, you are right this is for sure the most correct approach in theory and the approach I've tried to have until now but I have to admit a couple of things: 1) 100% of the wrapper page methods just returns nulls on null (what the null PropertyAccessor would do) 2) due to my relatively complex mo

RE: OGNL PropertyAccessor and null handling best practices

2007-04-02 Thread Hoogeveen, Erik
What I usually do is to use a method in de page that retrieves the right value if it's there. That method does the null handling I need for the value I want to display. If there's a null somewhere it can just return an empty string or something like that. Furthermore if I use only an ognl expressi