You shouldn't get an error message.  If one of the Objects in the
chain returns null, the EL expression is just supposed to return null.


On Fri, 18 Mar 2005 11:59:20 +0000, Kostas Karadamoglou
<[EMAIL PROTECTED]> wrote:
> 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.
> >
> >* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> >
> >
> >
> >
> 
> 


-- 
-Heath Borders-Wing
[EMAIL PROTECTED]

Reply via email to