<table jwcid="@Any" id="toUpdate">
...
</table>
and replaced it with:
<span jwcid="@Any" id="toUpdate">
<table>
...
</table>
</span>
It doesn't crash anymore, but the focus is still stuck on the textfield, even if everything went ok.
On 2/27/06,
Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
Sorry the cvs commit was so late, I don't know why I forgot it, but it's applied now.
Ie has windows "web script debugger"..The only way I've been able to install it is using a microsoft office cd. It's under an advanced/custom installation option list. It may be possible to download it from microsoft seperately.
IE 7 may have even better ways to do this now though.On 2/25/06, Frederic Barnabe < [EMAIL PROTECTED] > wrote:Thank you Jesse.
Do you know of a _javascript_ debugger for Internet Explorer that I can use ? I'm using FireBug in Firefox, but I have nothing for IE.
FredOn 2/24/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:Now that I think about it more it does sound like a tacos bug. By default the form submission will cancel out the events default propogation. I'm filing a bug report for it.On 2/24/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:Unfortunately (or fortunately for me? ;) ) this isn't something that tacos can really control. It literally only binds the action specified to the _javascript_ event specified.
IE has some definite "quirks", even on how/what events are doing for form fields.
This site has a lot of information on things like this:
http://www.quirksmode.org/
Of course it ~could~ be a tacos bug, but it doesn't sound like it right now. Unless we are cancelling out the event before doing the request, which would explain not being able to tab out of the field. I'll double check that :)
jOn 2/24/06, Frederic Barnabe < [EMAIL PROTECTED]> wrote: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
