commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafael Leite <>
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 "" when "foo" is null.

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

         Thanks in advance!

         Rafael Leite
         Analista de Sistemas - SAFF
         Sistema da Qualidade Certificado - ISO 9001 - BVQI - INMETRO
         Fone/Fax: 0xx(48) 3027-8000

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