Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Attaching a test case that shows a problem when using an expression for an attribute in a validator. We have markup that looks like this:

      <h:inputText id="ajaxMy"
      value="#

      {testBean.myNumber}

      ">
      <f:validateLongRange minimum="1"
      maximum="#

      {testBean.maxValue}

      "/>
      <f:ajax execute="@this"
      render="@form"/>
      </h:inputText>

      When the value of the maximum attribute is modified via Ajax from another input field, the value of the bean is properly set but the validator doesn't resolve appear to resolve the expression at the right time and the result is that validation occurs against the "old" values.

        Issue Links

          Activity

          dmsinotte created issue -
          Manfred Riem made changes -
          Field Original Value New Value
          Project javaserverfaces [ 10204 ] javaserverfaces-spec-public [ 10222 ]
          Key JAVASERVERFACES-2428 JAVASERVERFACES_SPEC_PUBLIC-1104
          Affects Version/s 2.1.7 [ 15380 ]
          Component/s implementation [ 10535 ]
          Component/s ajax [ 10541 ]
          Component/s conversion/validation [ 10543 ]
          Component/s expression language [ 10554 ]
          Manfred Riem made changes -
          Link This issue is related to JAVASERVERFACES-2417 [ JAVASERVERFACES-2417 ]
          Ed Burns made changes -
          Assignee rogerk [ rogerk ]
          Hide
          Ed Burns added a comment -

          Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

          Show
          Ed Burns added a comment - Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.
          Ed Burns made changes -
          Priority Major [ 3 ] Trivial [ 5 ]
          Ed Burns made changes -
          Priority Trivial [ 5 ] Minor [ 4 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              dmsinotte
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: