Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-12616

Event re-targetting for correct javax.faces.source support in case where event doesn't originate on component's DOM root

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 4.3.0.M3
    • Component/s: core
    • Labels:
      None
    • Story Points:
      5

      Description

      When processing events from components, attached AJAX behaviors propagates calls to:

      jsf.ajax.request(source, event, options);
      

      The ID of source element is then propagated to javax.faces.source as behavior event source.

      However when a source of a event wasn't root of the component's DOM, then javax.faces.source isn't equal to clientId of component and thus behavior decoding fails.


      This issue can be fixed by incorporating interceptor for jsf.ajax.request, which will re-target source to the root of the component's DOM (which has attribute{{id}} equal to clientId of component).

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                peoplemodule

                Error rendering 'com.atlassian.jira.jira-view-issue-plugin:peoplemodule'. Please contact your Jira administrators.

                  Dates

                  • Created:
                    Updated:
                    Resolved: