-
1. Re: Using a4j:support event=
sergeysmirnov Jul 8, 2007 4:45 PM (in response to snagit)ignoreDupResponses does not make sense without queue defined (attribute eventsQueue). Also, there is no reason to send so many events to the server when user types. So, having requestDelay (300-800ms) is a right way to go.
ajaxSingle="true" helps you do not send more data to server, however, the whole component tree still will be processed. You can avoid this using a4j:region just around the h:inputTextarea.
Those help you to increase the performance. However, you are absolutely right thinking about pure javascript. Updating counter is just a one line of javascript code. The updating itself does not require to invoke a server-side specific application or business logic. So, using Ajax here is an overhead. -
2. Re: Using a4j:support event=
snagit Jul 9, 2007 3:18 AM (in response to snagit)Thx for a quick and informative reply!