correct, I have getFirstName( returns String) and isExists( returns boolean) 
methods in the spouse object.

-----Original Message-----
From: Sean Schofield [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 18, 2005 1:47 PM
To: MyFaces Discussion
Subject: Re: How are the null objects handled in value bindings


> But my question was why am I NOT getting the NullPointerException. In my case 
> I am NOT getting the exception, I am getting an empty string for a method 
> that returns String and false for a method that returns boolean.

So you are getting empty string for #{...spouse.firstName} and false
for #{...spouseExists} right? And you have getFirstName method on the
spouse object that is supposed to return string and getSpouseExists
method that return boolean right?

sean

Reply via email to