Hi *,

after looking a bit deeper into this, i can't find any faces-config.xml
in sandbox-example in pre maven sources.
Also these files are equal except some additions to sandbox after maven
reorg.

Therefore i think the existence of this file in example is caused by the
maven reorg and should removed.

Any objections?

Regards,
  Volker

-------- Original Message --------
Subject: Re: Receiving duplicate suggestions in InputSuggestAjax component
Date: Fri, 27 Jan 2006 22:34:00 +0100
From: Volker Weber <[EMAIL PROTECTED]>
Reply-To: MyFaces Discussion <[email protected]>
To: MyFaces Discussion <[email protected]>
References: <[EMAIL PROTECTED]>

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.

Reply via email to