+1...

what a mess ;)

regards,

Martin

On 1/27/06, Volker Weber <[EMAIL PROTECTED]> wrote:
> Hi Michel,
>
> during investigating another problem with inputSuggestAjax involved i
> found the same behavior in sandbox example.
>
> The problem is the dublicated registration of the AjaxPhaseListener.
> It is registred in the examples WEB-INF/faces.config.xml, but is already
> in faces-config.xml of sandbox.jar.
>
> I'm going to remove the listener from the examples faces-config.xml, if
> i get no objections.
>
> Regards,
>   Volker
>
> Michel Goldstein wrote:
> > Hi,
> >
> > This silly problem has been bugging me for a while. I try to use the
> > InputSuggestAjax component and it is working fine except that it shows
> > the results of the call twice! I've even deployed the sandbox-example
> > war and it had the same problem, even in the input that has a limit on
> > the maximum number of suggested items (for example, if I enter "a" on
> > the limited input box it displays "a 1", "a 2", "a 1", "a 2" even though
> > the maxSuggestedItems="2"). Is this a (known) bug? Or, just for a
> > change, do I have something misconfigured? I search in JIRA and couldn't
> > find anything. It was so obvious that the fact that I couldn't find
> > anything in JIRA is pointing me to the second hypothesis.
> >
> > Just one other, perhaps related thing about the same component: When I
> > look in my logs of calls, I see that for every input that I type a
> > letter on the component, it calls the function that does the search
> > twice (I've attached the logs below). This search is a fairly expensive
> > operation in my system right now. Is this double call expected in the
> > lifecycle or is there something else going on?
> >
> > Thank you,
> >
> > Michel
> >
>
>
> --
> 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.
>


--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Reply via email to