On Thu, 10 Feb 2005 17:29:35 -0600, Heath Borders
<[EMAIL PROTECTED]> wrote:
> Let's say I have the following EL expression:
>
> #{myBean.myInnerBean.property}
>
> If myBean.getMyInnerBean() returns null, under MyFaces, this just returns
> null.
>
> Is this behavior to spec?
Yes.
JSF's EL evaluation semantics reference the corresponding semantics in
JSP 2.0 (section 2.3), where the rules for evaluation of
"expr-a.expr-b" (or the equivalent "expr-a[expr-b]") start with:
* Evaluate expr-a into value-a
* If value-a is null, return null
>
> --
> -Heath Borders-Wing
> [EMAIL PROTECTED]
>
Craig