javaeetutorial
  1. javaeetutorial
  2. JAVAEETUTORIAL-127

mention timeouts and render complete handling

    Details

    • 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:
      None

      Description

      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?

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved: