ICEfaces
  1. ICEfaces
  2. ICE-5944

Regression Icefaces2 - Popup Calendar not working correctly

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Beta2
    • Fix Version/s: 2.0-Beta2, 2.0.0
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Server: Tomcat6
      Browser: FF3.6, IE7 & Opera10.10

      Description

      Icefaces2 Revision# 22029


      Cannot open Popup Calendar by clicking on calendar button.

      Test-cases can be found at "C:\repo\qa\trunk\Regression-Icefaces2\Nightly\ICE-4860".
      Other cases failing due to same problem are:
       ICE-4184, ICE-4156, ICE-4073, ICE-4046, ICE-4011, ICE-2994, ICE-2961, ICE-2758, ICE-2351 & ICE-2113
      1. screenshot-07.png
        72 kB
      2. screenshot-06.png
        107 kB
      3. screenshot-05.png
        139 kB
      4. screenshot-04.png
        169 kB
      5. screenshot-03.png
        246 kB
      6. screenshot-02.png
        163 kB
      7. screenshot-01.png
        80 kB

        Activity

        Hide
        Mircea Toma added a comment -

        Capture and log exception thrown when focus method is invoked on invisible elements.

        Show
        Mircea Toma added a comment - Capture and log exception thrown when focus method is invoked on invisible elements.
        Hide
        Mircea Toma added a comment -

        Changed SelectInputDateRenderer to render its required hidden input field (client ID + '_cc') by using FormRenderer.addHiddenField API.

        Show
        Mircea Toma added a comment - Changed SelectInputDateRenderer to render its required hidden input field (client ID + '_cc') by using FormRenderer.addHiddenField API.
        Hide
        Ken Fyten added a comment -

        Mircea to fix Safari checkbox issue.

        Show
        Ken Fyten added a comment - Mircea to fix Safari checkbox issue.
        Hide
        Mircea Toma added a comment -

        When the 'value' attribute of the input element is updated with an empty string its value is not changed by Safari back to 'on' when the checkbox is checked (see also http://updatepanel.net/2009/06/10/webkit-bug-default-value-of-unchecked-checkbox-element-is-an-empty-string/ ). Thus when JSF serializes the checkbox the parameter corresponding to the checkbox will have the empty string as value which is interpreted by CheckboxRenderer as an un-checked checkbox.
        To solve the issue CheckboxRenderer will always render 'value=on' attribute for the checkbox to guarantee that when the element is updated and then serialized the value is not empty. Having the 'value' attribute always set to 'on' doesn't interfere with the serialization, when the input element is not checked ('checked' attribute is false) its serialization is skipped.

        Show
        Mircea Toma added a comment - When the 'value' attribute of the input element is updated with an empty string its value is not changed by Safari back to 'on' when the checkbox is checked (see also http://updatepanel.net/2009/06/10/webkit-bug-default-value-of-unchecked-checkbox-element-is-an-empty-string/ ). Thus when JSF serializes the checkbox the parameter corresponding to the checkbox will have the empty string as value which is interpreted by CheckboxRenderer as an un-checked checkbox. To solve the issue CheckboxRenderer will always render 'value=on' attribute for the checkbox to guarantee that when the element is updated and then serialized the value is not empty. Having the 'value' attribute always set to 'on' doesn't interfere with the serialization, when the input element is not checked ('checked' attribute is false) its serialization is skipped.
        Hide
        yip.ng added a comment - - edited

        ICEfaces 2 revision = 22371
        Sparke revision = 22371

        Verified IE focus management problem fixed.

        Verified IE hidden field problem fixed.

        Verified Safari checkbox problem fixed.

        Show
        yip.ng added a comment - - edited ICEfaces 2 revision = 22371 Sparke revision = 22371 Verified IE focus management problem fixed. Verified IE hidden field problem fixed. Verified Safari checkbox problem fixed.

          People

          • Assignee:
            yip.ng
            Reporter:
            Mandeep Hayher
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: