Does it work the same as the InputSuggest Component?
What do I have to pass to this Component?
Can I pass something like a TreeMap or so?
(For my project I need to pass a List from the Database)
Does the ValueChangeListener work on the AjaxComponent?

I have just looked at the code of the example, but I don't really see, how I 
have to do this.

Do you have any hints for me on this?

Regards

-----Ursprüngliche Nachricht-----
Von: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 11. Oktober 2005 09:30
An: MyFaces Discussion
Betreff: Re: ValueChangeListener on InputSuggest -->Unable to find
setter method for onchange


yes, that component he means.

here is an online sample

http://irian.at/myfaces-sandbox/inputSuggestAjax.jsf

-Matthias

On 10/11/05, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Dear Sean
>
> could you perhaps give me a hint, how I can provide this patch?
> With the Ajax Version, do you mean the InputSuggestAjax Component?
>
> Regards,
> Andy
>
> -----Ursprüngliche Nachricht-----
> Von: Sean Schofield [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 11. Oktober 2005 01:52
> An: MyFaces Discussion
> Betreff: Re: ValueChangeListener on InputSuggest -->Unable to find
> setter method for onchange
>
>
> Not a lot is going on with this component at the moment.  If you don't
> get an answer you will probably have to provide your own patch.  There
> is also an Ajax version that more people seem to be using at the
> moment.
>
> sean
>
> On 10/6/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hi all.
> >
> > I'm using a InputSuggest Box from the Sandbox Component.
> > Within the InputSuggest I want to use a ValueChangeListener... When the page
> > is loaded I get the following error Stack:
> >
> > exception
> >
> > javax.servlet.ServletException: /newpartner.jsp(132,10) Unable to find
> > setter method for attribute: onchange
> >
> > javax.faces.webapp.FacesServlet.service(FacesServlet.java:109)
> >
> > org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
> >
> > root cause
> >
> > javax.faces.FacesException: /newpartner.jsp(132,10) Unable to find setter
> > method for attribute: onchange
> >
> > org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:421)
> >
> > org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
> >
> > org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:330)
> >
> > javax.faces.webapp.FacesServlet.service(FacesServlet.java:95)
> >
> > org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
> >
> > This is my code:
> >
> > <x:inputSuggest value="#{newPartnerDto.gwname}"  required="true"
> > id="gateway" immediate="true" onchange="submit()"
> >  valueChangeListener="#{newPartnerDto.selectgateway}">
> >         <f:selectItems value="#{queryHelper.tmgateway}" />
> > </x:inputSuggest>
> >
> >
> > What is the problem? Without the ValueChangeListener it works fine...Was the
> > setter method for onchange forgotten?
> >
> > Thx! Regards
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > This email and any files transmitted with it are confidential and intended
> > solely for the use of the individual or entity to whom they are addressed.
> > If you have received this email in error please notify your system manager.
> > This footnote also confirms that this email message has been swept for the
> > presence of computer viruses.
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> your system manager.
>
> This footnote also confirms that this email message has been swept
> for the presence of computer viruses.
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>


--
Matthias Wessendorf
Zülpicher Wall 12, 239
50674 Köln
http://www.wessendorf.net
mwessendorf-at-gmail-dot-com


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
your system manager.

This footnote also confirms that this email message has been swept
for the presence of computer viruses.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to