Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-2173 JSF 2.0 AJAX library
  3. MYFACES-2174

MyFaces 2.0 AJAX API extension proposal

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-alpha
    • 2.0.0-alpha
    • JSR-314
    • None
    • browser independent javascript

    Description

      Here's the proposal for MyFaces 2.0 extensions to the JSR 314 AJAX API:

      proposed API (all additional attribute are optional, so spec conformant requests are still supportet):
      jsf.ajax.request(this, event, {execute: (componentIds), render: (componentIds), myfaces:

      {pps: (true/false), queuesize: (int), errorlevel: (warning/error/fatal)}

      )

      And here is what the additional attributes are meant to do:
      pps:
      If set to true, the PPS (partial page submit) feature becomes active. Only the elements numbered in attribute execute will become submitted.

      queuesize:
      The desired size of the request queue. For most applications it makes sense to set this to 1. Default is unlimited.

      errorlevel:
      Will bring up an alert box displaying Javascript errors. This is very helpful for debugging purposes. Possible level values are: warning, error, fatal, none. default is 'none'.

      Attachments

        1. patch-2174.patch
          12 kB
          Ganesh Jung

        Activity

          People

            ganesh.jung Ganesh Jung
            ganesh.jung Ganesh Jung
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Remaining Estimate - 48h
                48h
                Logged:
                Time Spent - Not Specified
                Not Specified