webtier@glassfish.java.net

Re: [webtier] can't get my Spring bean in JSF

From: Jim Driscoll <Jim.Driscoll_at_Sun.COM>
Date: Thu, 19 Feb 2009 18:07:15 -0800

While I don't use Spring (you should ask this on a Spring alias), it
looks like loginApp isn't serializable.

You should try changing that.

Jim

On 2/19/09 2:26 AM, webtier_at_javadesktop.org wrote:
> I got this setup in my faces-config.xml
> <el-resolver>
> org.springframework.web.jsf.el.SpringBeanFacesELResolver
> </el-resolver>
>
> javax.servlet.servletException:javax.el.ElException: java.lang.IllegalArgumentException: PWC2788:setAttribute: Non-serializable attribute
>
> java.faces.FacesException:javax.el.ELEXception:java.lang.IllegalArgumentException:PWC2788:setAttribute: non-serializable attribute with ...
> javax.el.ElException:java.lang.IllegalArgumentException:PWC2788:setAttribute:non-serializable attribute with name loginApp
> java.lang.IllegalArgumentException: PWC2788: setAttribute : non-serializable attribute with name loginApp
> [Message sent by forum member 'adisonz' (adisonz)]
>
> http://forums.java.net/jive/thread.jspa?messageID=332857
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>