webtier@glassfish.java.net

Re: [webtier] Managed bean as ValueChangeListener

From: Lincoln Baxter, III <lincolnbaxter_at_gmail.com>
Date: Thu, 16 Jul 2009 17:34:58 -0400

Yep, missed that. Small blackberry screen ;) Jim's right. That's
probably the issue.

On Thu, 2009-07-16 at 12:43 -0700, Jim Driscoll wrote:

>
> On 7/16/09 12:01 PM, lincolnbaxter_at_gmail.com wrote:
> > When i load the page i get this:
> >
> > java.io.NotSerializableException: javax.faces.component.UIData
>
> ...
>
> This is probably not your problem, though as Lincoln points out, you
> should make your class serializable.
>
> >
> > Also, component.addValueChangeListener(new ValueChangeListener() {...}) is not working, it says it cannot instantiate the class.
> > [Message sent by forum member 'gabox01' (gabox01)]
>
> This is your problem. It means you've got an exception getting thrown
> in your class initializer. What is that exception, and what line is it?
> If you answer those questions, you'll probably answer your problem -
> check the logs to see.
>
> Jim
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>