commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafael Leite <raf...@softplan.com.br>
Subject Allowing null values in nested properties
Date Wed, 17 Mar 2004 14:46:22 GMT

         Is there a way to indicate to BeanUtils that it should return null 
(or other value) instead of NPE when it finds a null in the middle of a 
nested property expression?

         Something like returning null in "foo.bar" when "foo" is null.

         I've noticed the thread below, from Oct. 2002 (thought it might 
have been adressed already):

         http://nagoya.apache.org/eyebrowse/ReadMsg?listName=commons-user@jakarta.apache.org&msgNo=878

         Thanks in advance!

         Rafael Leite
         Analista de Sistemas - SAFF
         Softplan/Poligraph
         Sistema da Qualidade Certificado - ISO 9001 - BVQI - INMETRO
         Fone/Fax: 0xx(48) 3027-8000
         http://www.softplan.com.br

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message