1. javaeetutorial

mention timeouts and render complete handling


    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 6.0.7-5
    • Fix Version/s: None
    • Component/s: doc
    • Labels:


      These issues may not apply to this Ajax implementation, but they come up with the PrimeFaces implementation, and I don't see them addressed here yet so I wanted to mention them as something I'd like to know: How can an Ajax timeout be handled? How can the timeout duration be set? That is, if the server doesn't reply in 5 seconds, go into some timeout handling scenario instead of waiting indefinitely for a response that may never come. You can simulate this scenario by setting a breakpoint in the server while a backing bean method is called. The server connection is still open but no response is going to come. Network issues and server issues can cause these, and a robust application needs to handle those scenarios. The other issue we see is: We have races between the AJAX partial response being rendered and JavaScript that applies to what gets rendered. The way to handle that would be listening for an partial update rendered event or setting a callback to be called when the partial update is completed rendering. So are there mechanisms to do that?


        Brant Gurganus created issue -
        Kim Haase made changes -
        Field Original Value New Value
        Assignee Kim Haase [ chaase3 ]
        Kim Haase made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        Ian Evans made changes -
        Affects Version/s 6.0.7-5 [ 15851 ]
        Affects Version/s current [ 10661 ]


          • Assignee:
            Kim Haase
            Brant Gurganus
          • Votes:
            0 Vote for this issue
            0 Start watching this issue


            • Created: