I've run into an interesting problem with my datasets and I'm wondering
if anyone else has seen this sort of thing. I have a dataset defined
like this:
<dataset name="ds"
type="http"
getresponseheaders="true"
timeout="60000"
ondata="foo._handleQueryResult()"
onerror="foo._handleError(this.getErrorString())"
ontimeout="foo._handleTimeout()"/>
When I submit the request, I put a message in a text area indicating
that an action is in progress. When I get the response, I clear the
message. If an error occurs, I write the error message and if a timeout
occurs, I indicate that a timeout occurred. When I execute the request,
I'm noticing that I see the timeout message and then it gets cleared.
When I add some debug code, it seems that I get a timeout event and then
an ondata event. The request is being handled and returned well within
the timeout range, so I can't really be getting a true timeout. Is
there a bug with how the timeout event works? (I'm using OpenLaszlo 3.2)
Have I misunderstood how this event works?
Thanks!
--
James Howe
[EMAIL PROTECTED]
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user