Jeff,

Can you restate what you're trying to accomplish.  The more I read
this thread, the less I'm sure I understand.  :)

My understanding is that you want to do this:

1) display a page
2) change an Input component to a new value without triggering any
other validation, model updates, or actions.
3) redisplay the page with other dependent components updated based on
the value of the Input component.


On 10/26/05, Jeffrey Porter <[EMAIL PROTECTED]> wrote:
> Hi Mike,
>
> I've tried that.
>
> I've tried getting both the bean & the Manager class, but setting the
> values either or them doesn't work. :-(
>
>
> The new code is at...
> http://www.jeffreyporter.pwp.blueyonder.co.uk/ebusiness_LISTENER_PROB2.e
> ar
>
> The Code is at...
> http://www.jeffreyporter.pwp.blueyonder.co.uk/NonConformingMaterialManag
> er.java
>
> The JSP is at...
> http://www.jeffreyporter.pwp.blueyonder.co.uk/theTest.jsp
>
>
> Jeff.
>
>
>
>
>
>
> -----Original Message-----
> From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
> Sent: 26 October 2005 17:45
> To: MyFaces Discussion
> Subject: Re: Help still needed with valueChangeListener
>
> 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.getCurrentI
> nstance());
>
>
> 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