Is the bean defined in the faces-config?
 
Cheers

________________________________

Von: Dave [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 11. Dezember 2007 18:09
An: users@myfaces.apache.org
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(ValueBin
dingImpl.java:477)
        at
org.apache.myfaces.el.ValueBindingImpl.setValue(ValueBindingImpl.java:25
1)
        at
org.apache.myfaces.custom.tree.taglib.TreeTag.doStartTag(TreeTag.java:34
9)
 
thanks!
Dave

________________________________

Never miss a thing. Make Yahoo your homepage.
<http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs>  

Reply via email to