Hi,

I have a AjaxEventSubmit that is bound to a TextField on the onchange event.  On Firefox, when I type something in the textfield and hit the tab key, the focus goes to next field, the event is sent to the server and I can continue to fill the form while the response come back.  The search result is displayed in a select under the field that was not shown before.  This is exactly what I want. 

On IE6, if I change the field value and hit the tab key, the event goes to the server but the focus stays on the field.  If I hit again the tab key, another event is sent to the server.  I tried to look at the debug console, but if I click outside the field, another event is sent and the focus stays on the field again.  With multiple events sent before the first comes back, I have a lot of stale exceptions in the tomcat logs. 

If I reload the page, change the value of the field hit tab and wait, the response comes back, the answer seems to be received ok since I see the result displayed as normal, but the focus is still in the field, the wait cursor never goes off and when I click anywhere in the page, the event is sent again.  All that I have is a _javascript_ exception in the status bar that says 'Unknown runtime error'.  That helps a lot!  And _javascript_ debugging on IE is sooo easy!

Is there something I'm missing or is it a known bug with IE6?

Here are my bindings:

    <component id="postalCodeSearchScript" type="tacos:AjaxEventSubmit">
        <binding name="updateComponents" value="ognl:{'searchResults', 'address'}"/>
        <binding name="action" value="listener:searchPostalCode"/>
        <binding name="effects" value="template:{fadeshow:{any:'0'}}"/>
    </component>
   
    <component id="postalCode" type="TextField">
        <binding name="displayName" value="message:postalCode"/>
        <binding name="value" value="postalCode"/>
        <binding name="validators" value="validators:required"/>
        <binding name="eventListener" value="'
    </component>   

Fred

Reply via email to