ICEfaces
  1. ICEfaces
  2. ICE-4323

valueChangeEvent getOldValue returns null when inside PanelTabSet

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 1.7.2-SP2, 1.8
    • Fix Version/s: 1.7.2-SP2
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      1.8
    • Assignee Priority:
      P1

      Description

      When you have a Select box with a value change listener in a tab set, theValueChangeEvent's getOldValue method returns null, rather than the actual old value. If you remove the tab set, this issue does not occur.

      Using the supplied test case, when you change the select box in the top example (not in a tab), it works as expected - the list gets a new entry, displaying the old value to the new value.

      But when you try the same in the bottom example (tabs), you see that the old value is always null. And if you press the submit button, you see that value change events keep firing, even though you didn't make a change. Lastly switch the tab away and back. You'll see the tab go back to the default value rather than maintain it's state. (this works fine in the official SP1 release).

      This issue may depend on the fix for Jira 1993 which was applied to the 1.7 branch on March 26.

      http://jira.icefaces.org/browse/ICE-1993


        Activity

        Hide
        Tyler Johnson added a comment -

        Test case ready for deployment on tomcat 6

        Show
        Tyler Johnson added a comment - Test case ready for deployment on tomcat 6
        Hide
        Ken Fyten added a comment -

        App. level solution was found.

        Show
        Ken Fyten added a comment - App. level solution was found.

          People

          • Assignee:
            Mark Collette
            Reporter:
            Tyler Johnson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: