openejb-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Access @Named bean via EL Expression?
Date Mon, 13 Aug 2012 19:53:35 GMT
Hi,

works for me (at least on the snapshot)

even with @PostConstruct


- Romain


2012/8/13 membersound <membersound@web.de>

> Hi,
>
> what do I have to do in order to access a @Named @RequestScoped bean via
> el-expression like #{myBean.myOroperty}?
>
> I'm constantly getting:
>
> javax.servlet.ServletException: javax.el.ELException: Error reading
> 'myProperty' on type MyBean_$$_javassist_1
>         javax.faces.webapp.FacesServlet.service(FacesServlet.java:229)
>
>
> root cause
>
> org.apache.myfaces.view.facelets.el.ContextAwareELException:
> javax.el.ELException...
>
>
> Do I have to make any configuration for annotations to work?
>
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Access-Named-bean-via-EL-Expression-tp4656844.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message