Exactly, when an object is null, there is no exception thrown. Its simply 
ignored and error or warning messages are generated, I have posted this problem 
few weeks ago, but couldn't get an answer. I was expecting a 
"NullPointerException" but none is thrown.

-----Original Message-----
From: Kostas Karadamoglou [mailto:[EMAIL PROTECTED]
Sent: Friday, March 18, 2005 6:59 AM
To: MyFaces Discussion
Subject: Re: Weird problems with outputtext tag


I have found the problem the selectedCategory that try to evaluate is null

But I don't get any error  message

Thanks for your attention

[EMAIL PROTECTED] wrote:

>Hi
>
>What is the name of the getter for selectedCategory ? (Hint : It must be
>named getSelectedCategory)
>
>Hermod
>
>-----Original Message-----
>From: Kostas Karadamoglou [mailto:[EMAIL PROTECTED]
>Sent: Friday, March 18, 2005 12:24 PM
>To: [email protected]
>Subject: Weird problems with outputtext tag
>
>
>Hi, I have a weird problem. It seems that JSF does not print in an 
>outputtext tag some getters of a backing bean.
>
>For example if my backing bean is EventHandler then
>
>I can print this : #{eventHandler.name} -> the getter getName() returns 
>a string
>
>but not this: #{eventHandler.selectedCategory.description} -> the getter
>
>getDescription() returns also a string but it is nested in a object of 
>type "Category"
>
>I also don't receive any exception when I evaluate this value.
>
>How can I solve this problem?
>
>this  doesn't work even for java.util.Date objects
>
>
>* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>
>This email with attachments is solely for the use of the individual or
>entity to whom it is addressed. Please also be aware that the DnB NOR Group
>cannot accept any payment orders or other legally binding correspondence with
>customers as a part of an email. 
>
>This email message has been virus checked by the virus programs used
>in the DnB NOR Group.
>
>* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>
>
>  
>

Reply via email to