[JAVASERVERFACES_SPEC_PUBLIC-682] Add support for XHR timeout Created: 02/Dec/09  Updated: 12/Aug/14

Status: Open
Project: javaserverfaces-spec-public
Component/s: Ajax/JavaScript
Affects Version/s: 2.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: driscoll Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: All
Platform: All

Issuezilla Id: 682
Status Whiteboard:

size_large importance_large


Add support for XHR timeout.

This is marked as a P1 spec defect - it was felt during the EG Ajax meeting that
this lack of support for timeout was a critical failure.

A request that is unexpectedly long running, or a network timeout, can
completely freeze the client. Hence, the P1 status.

Comment by ganeshpuri [ 21/Jan/10 ]

corrected target

Comment by Ed Burns [ 22/Jun/10 ]


Comment by rogerk [ 23/Jun/10 ]


Comment by rogerk [ 28/Jun/10 ]

target 2.1_gf31_m5

Comment by rogerk [ 03/Sep/10 ]


Comment by rogerk [ 03/Sep/10 ]

I am looking to introduce a "timeout" attribute (property) on the ajax.request
(and also f:ajax tag) where u can specify a time in milliseconds. For example:

onclick="jsf.ajax.request(this, event,

{execute: this.id, render: 'out1', timeout: '5000'}


and also

f:ajax timeout="5000"...

Comment by rogerk [ 13/Sep/10 ]

target MS6

Comment by rogerk [ 20/Sep/10 ]

Out of time for this for 2.1.

Comment by werpu12 [ 06/Mar/12 ]

MyFaces has timeout already in with a custom parameter.
You cam pass a myfaces


in the options list.

The timeout should be an option like execute and render.

Comment by Ed Burns [ 01/Aug/14 ]

Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

Generated at Tue Jul 07 16:21:10 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.