It's hard to tell with only bits and pieces of the source code, but
maybe the bean you're creating in the value listener isn't the same as
the managed bean?

Maybe do something like the following in your value listener instead
of "Bean bean = new Bean()".

        ValueBinding binding =
FacesContext.getCurrentInstance().getApplication().createValueBinding("#{bean}");
        org.iarc.ebusiness.model.Bean bean=
(org.iarc.ebusiness.model.Bean)binding.getValue(FacesContext.getCurrentInstance());


On 10/26/05, Jeffrey Porter <[EMAIL PROTECTED]> wrote:
>
> Sorry Volker, I uploaded the wrong file.
>
> Uploaded the working one now. Sorry.
>
>
> Mike,
>
> The page does sort of explain some of the problems I'm having.
> The limitations section talks about how you should not use the
> "immediate" attributes on anything other than a cancel button. But I'm
> using this value get the valueChangeListener attribute to be executed
> before the rest of the page is filled in.
>
> I'm now a little lost on where to go.
>
>
> My original problem still remains...
>
> I want to fill in a text field and then have other text fields filled in
> automatically from Manager class (look up values from another system).
>
>
>
>
>
>
> -----Original Message-----
> From: Volker Weber [mailto:[EMAIL PROTECTED]
> Sent: 26 October 2005 17:13
> To: MyFaces Discussion
> Subject: Re: Help still needed with valueChangeListener
>
> I can't deploy the contained war. i got a
> ClassNotFoundException:
> org.apache.myfaces.examples.servlet.SourceCodeServlet
>
>
>
> Jeffrey Porter wrote:
> >
> >
> > I've complied my code into an example ear.
> >
> > http://www.jeffreyporter.pwp.blueyonder.co.uk/ebusiness.ear
>
>
> --
> Don't answer to From: address!
> Mail to this account are droped if not recieved via mailinglist.
> To contact me direct create the mail address by
> concatenating my forename to my senders domain.
>

Reply via email to