myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alf Felis" <>
Subject Re: [Tobago] Problem using JSP tags with attributes
Date Thu, 18 Mar 2010 14:34:24 GMT
Hi Udo,

this doesn't work :(

If I use #{dataBean.errors} the given bean (passed by attribute!) won't be found.

For example:
javax.faces.el.PropertyNotFoundException: Base is null: dataBean

My beans are initialized with Spring, but I tried to define them in facesContext, too. Both
doesn't work.

Any other Idea?

Regards, Alf

>Hi Alf,
>The expression #{${dataBean}.errors} works in older Servlet APIs with 
>It should work until Tomcat 5.5, but doen't work with Tomcat 6.0.
>It also doesn't work with Facelets, but in Facelets you may use 
>#{dataBean.errors} instead.
>For JSPs #{dataBean.errors} will work, when dataBean is in some context, 
>it depends on your application, what is the best way to put in in the 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter

View raw message