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
>Tobago.
>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
>context.
>
>Regards,
>
>Udo
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01