MyFaces Core
  1. MyFaces Core
  2. MYFACES-3300

Ajax behavior change from 2.1.1 to 2.1.2

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.2
    • Fix Version/s: 2.0.10, 2.1.4
    • Component/s: None
    • Labels:
      None

      Description

      I am currently trying to update some examples to Myfaces 2.1.2 and ran into some ajax related problems. I have a h:selectBooleanCheckbox component that collapses and expands two input fields via f:ajax. There is a value change listener for the checkbox that sets the value internally and calls renderResponse(). In f:ajax, those input fields are also listed in execute to preserve the input the user has potentially made. So far, I had no problems with this solution. The validation for the input fields did not kick in (or did not bother me) and the values were preserved.

      With 2.1.2 I have two issues:
      1) Even if the input values are valid the values in the input fields vanish when they are expanded and collapsed again.
      2) Now validation kicks in for invalid values and I get an error message in the browser

      This works with all older versions I tried (2.0.4, 2.1.0 and 2.1.1).

      Would be interesting to know what really changed here!

        Issue Links

          Activity

          Leonardo Uribe made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Leonardo Uribe made changes -
          Fix Version/s 2.0.10 [ 12317870 ]
          Fix Version/s 2.1.4 [ 12317868 ]
          Fix Version/s 2.1.4-SNAPSHOT [ 12317867 ]
          Fix Version/s 2.0.10-SNAPSHOT [ 12317869 ]
          Jakob Korherr made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 2.0.10-SNAPSHOT [ 12317869 ]
          Fix Version/s 2.1.4-SNAPSHOT [ 12317867 ]
          Resolution Fixed [ 1 ]
          Jakob Korherr made changes -
          Link This issue relates to MYFACES-3301 [ MYFACES-3301 ]
          Jakob Korherr made changes -
          Assignee Jakob Korherr [ jakobkorherr ]
          Michael Kurz made changes -
          Field Original Value New Value
          Attachment MYFACES-3300-test.zip [ 12493560 ]
          Michael Kurz created issue -

            People

            • Assignee:
              Jakob Korherr
              Reporter:
              Michael Kurz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development