Posted by
Ralf Jung on
URL: https://discuss.orbeon.com/Incremental-request-delay-tp3009080.html
Hi everyone,
I am using an incremental input to filter a list of items, i.e. the xforms-
value-changed is connected to the submission querying the database for the
filtered dataset. Since filtering for short strings is rather expensive, I want
the form to wait a bit before sending the request, since the user will most
likely enter more than one character. So I tried increasing oxf.xforms.delay-
before-incremental-request to 500ms, but looking at the database log, even if
I type quickly, several requests are sent. Even if I set the delay to 5
seconds, the filter is applied almost immediately (less than a second). Is that
a bug somewhere, or am I using the property the wrong way? Unfortunately I
found no documentation for it and only learned that it existed by looking at
the source JavaScript file.
I am using the latest stable Orbeon release (3.8).
Kind regards,
Ralf Jung
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws