In my bean method to manipulate the suggested list takes some time. So for each request the bean method is called then the performance of my application will be degraded. So is there any way to send the request to the server after 1 second from the user stops typing text?
Regards, Basha -----Original Message----- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Werner Punz Sent: Tuesday, March 06, 2007 6:30 PM To: [email protected] Subject: Re: Regarding sandbox's inputSuggestAjax tag Is there a specific reason why you want to ignore those requests? They do not do anything specifically. [EMAIL PROTECTED] schrieb: > Hi, > > I am using sandbox's inputSuggestAjax tag. It is working > fine in my application. But the problem is if you are typing text in the > <s:inputSuggestAjax> field for every character typing its calling the > suggest method. At that time if I submit the form then it has to ignore > the previous requests. Is there any way to ignore the previous requests. > > > > My code look like as follows: > > > > <s:inputSuggestAjax id="customerId" > suggestedItemsMethod="#{customerBean.getCustomerIdSuggestItems}" > > > value="#{customerBean.customerId}" maxSuggestedItems="5"/> > > <h:commandButton id="customerBeanCommandButtonNextId" > action="#{customerBean.next}" value="Next"/> > > > > Regards, > > Basha > > > The information contained in this electronic message and any attachments > to this message are intended for the exclusive use of the addressee(s) > and may contain proprietary, confidential or privileged information. If > you are not the intended recipient, you should not disseminate, > distribute or copy this e-mail. Please notify the sender immediately and > destroy all copies of this message and any attachments. > > WARNING: Computer viruses can be transmitted via email. The recipient > should check this email and any attachments for the presence of viruses. > The company accepts no liability for any damage caused by any virus > transmitted by this email. > > www.wipro.com > The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

