javaserverfaces-spec-public
  1. javaserverfaces-spec-public
  2. JAVASERVERFACES_SPEC_PUBLIC-688

Allow for mixed Ajaxified and non-ajaxified controls in a page

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.0
    • Fix Version/s: 2.2
    • Component/s: Ajax/JavaScript
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      688
    • Status Whiteboard:
      Hide

      size_medium importance_medium

      Show
      size_medium importance_medium

      Description

      Currently, if you have a non-ajax submit button, and any ajax controls, it could
      be considered best practice to not mix the two - after all, the results could be
      rather non-deterministic. Two simultaneous connections to the same view opens
      up the possibility of hard to find threading issues in application code.

      The current recommended solution is to change all submit buttons to be ajax'd...
      This solves the problem by serializing the connections, but it would probably
      also be useful if the JSF runtime detected this situation automatically, and
      handled this automatically.

      I'm not sure about this as an approach, but wanted to file it to not lose the idea.

      One obvious problem with this is if the prior ajax request is long lasting, it
      may not be desired behavior. Which means we'd be back to requiring the user to
      be explicit in how they want things handled.

      Still, it's worth considering.

        Activity

        Hide
        ganeshpuri added a comment -

        corrected target

        Show
        ganeshpuri added a comment - corrected target
        Hide
        rogerk added a comment -

        triage

        Show
        rogerk added a comment - triage
        Hide
        Ed Burns added a comment -

        rogerk

        Show
        Ed Burns added a comment - rogerk
        Hide
        rogerk added a comment -

        triage

        Show
        rogerk added a comment - triage
        Hide
        rogerk added a comment -

        triage

        Show
        rogerk added a comment - triage

          People

          • Assignee:
            Unassigned
            Reporter:
            driscoll
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: