Hi Daniele

Provide your code, java and html cutout, it's clearly not similar then it would work..

Daniele Dellafiore wrote:
Hi all.

I am using an OnChangeAjaxBehavior on a textField to filter contents
of a table.
My code is very similar to this example:
http://www.wicket-library.com/wicket-examples/ajax/on-change-ajax-behavior

The problem I have is that the first input character is received and I
can get it in the onUpdate method of the Behavior. Then it stops
sending event, the wicket ajax debug console confirm that nothing is
sent anymore. If I remove and give the focus back to the field, I
receive a new character, and only one again.

Here is the debug console output for the first char I receive.

INFO: focus removed from
INFO: focus set on filter5
INFO:
INFO: Initiating Ajax POST request on
?wicket:interface=:2:authorSearch:form:filter::IBehaviorListener:0:&random=0.08630731350941423
INFO: Invoking pre-call handler(s)...
INFO: Received ajax response (261 characters)
INFO:
<?xml version="1.0" encoding="UTF-8"?><ajax-response><component
id="authors6" ><![CDATA[<table id="authors6">

<thead>


    <tr class="headers">

            <th><span>Nome</span></th>

    </tr>


</thead>


<tbody>

</tbody>
</table>]]></component></ajax-response>
INFO: Response parsed. Now invoking steps...
INFO: Response processed successfully.
INFO: Invoking post-call handler(s)...
INFO: Calling focus on filter5
INFO: focus removed from filter5


--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to