Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-4537

Investigate Inner / Outer Ajax Tags

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • 4.0.0-RC4
    • None
    • None

    Description

      Sprung from MYFACES-4514.

      Earlier spec mention:

      <f:ajax>
        <h:commandButton id=”button1”>
          <f:ajax/>
        </h:commandButton>
      </f:ajax>
      
      

      "

      The accompanying text indicates that "the inner <f:ajax/> would apply to “button1”. The outer (wrapping) <f:ajax> would not be applied, since it is the same type of submitting behavior (AjaxBehavior) and the same event type (action)."

      MyFaces had a return to avoid adding a second behavior, but that was removed in 4514. We'll have to look at the case some more and see what the expected behavior her should be.

      Thomas asked for clarification here:
      https://github.com/jakartaee/faces/issues/1756#issuecomment-1357725710

      Attachments

        Activity

          People

            tandraschko Thomas Andraschko
            volosied Volodymyr Siedlecki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: