Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-1704

Implement a prototype on Trinidad 2.0.x., that accepts JSF2.0 Ajax style requests and returns JSF 2.0 style responses.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0-alpha-2
    • None
    • Components
    • None
    • Windows 7

    Description

      The goal of this task is to do research/prototyping to get our bearings and identify potential stumbling blocks in the trasition to JSF 2.0 Ajax features in particular. I have put together a Trinidad prototype with the following changes:

      1. Trinidad client-side calls out to jsf.ajax.request() to issue the request

      • simple changes to call jsf.ajax.request() instead of Trinidad sendFormPost
      • no support (yet) for special usecases - mobile/iframe (file upload) /portlet

      2. Trinidad server-side has been updated to recognize the JSF2-style request

      • minor changes to CoreRenderKit to recognize JSF 2.0 request headers / POST params

      3. Trinidad server-side generates a JSF2-style response

      • PPRResponseWriter tweaked; a new implementation for the PartialViewContextFactory/PartialViewContext

      4. Trinidad client-side allows jsf.ajax.response() to process the response.

      • allow jsf.ajax.response() to handle response entirely and update the page

      Attachments

        1. jsf2-ajax-patch0.patch
          43 kB
          Pavitra Subramaniam

        Activity

          People

            arobinson74 Andrew Robinson
            pasubra Pavitra Subramaniam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: