what is odd is that the exception says that ".foo" is the base and not "bean".
On Dec 11, 2007 10:25 AM, Rottstock, Sven <[EMAIL PROTECTED]> wrote: > > > Is the bean defined in the faces-config? > > Cheers > > ________________________________ > Von: Dave [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 11. Dezember 2007 18:09 > An: [email protected] > Betreff: <t:tree> base is null > > > > Hi, > <h:panelGroup rendered="#{bean.foo != null}"> > > <t:tree value="#{bean.foo.treeModel}"> > ... > </t:tree> > > </h:panelGroup> > > bean is not null. > Why did I got the following error: > > javax.faces.el.PropertyNotFoundException: Base is null: .foo > at > org.apache.myfaces.el.ValueBindingImpl.resolveToBaseAndProperty(ValueBindingImpl.java:477) > at > org.apache.myfaces.el.ValueBindingImpl.setValue(ValueBindingImpl.java:251) > at > org.apache.myfaces.custom.tree.taglib.TreeTag.doStartTag(TreeTag.java:349) > > thanks! > Dave > > ________________________________ > Never miss a thing. Make Yahoo your homepage.

