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

f:ajax wrapped around component(s) does not work as expected

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0.3-SNAPSHOT
    • 2.0.3
    • JSR-314
    • None
    • myfaces current trunk

    Description

      <h:form id="form1">
      <f:ajax render="@form">
      <h:commandButton id="button" value="Click me 1!"/>
      </f:ajax>
      </h:form>

      <h:form id="form2">
      <h:commandButton id="button" value="Click me 2!" >
      <f:ajax render="@form"/>
      </h:commandButton>
      </h:form>

      If you click "Click me 1" than button disappers because it is no rendered in ajax XML output.

      The second button with inner f:ajax work as expected.

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            markoc50 Martin Kočí
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: