ICEfaces
  1. ICEfaces
  2. ICE-7840

When calling UIInput.resetValue() it is removing any style that is applied in IE7/8

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: EE-2.0.0.GA, 3.0, EE-3.0.0.BETA
    • Fix Version/s: EE-3.0.0.GA
    • Component/s: Framework, ICE-Components
    • Labels:
      None
    • Environment:
      IE7/8
    • Workaround Exists:
      Yes
    • Workaround Description:
      Set the style in a styleClass

      Description

      For a forms clear button functionality the it will call UIInput.resetValue() for the inout fields object. Calling this method in IE7/8 causes the values that are applied to the components style attribute to be cleared or ignored. In other browsers they are kept.

      In testing this in firefox I noticed that a cursor:wait was being applied to the input fields style attribute when the commandButton was clicked. Possibly this is the cause of the issue due to a known issue with JSF updating styles dynamically in IE7/8.

        Activity

        Hide
        Arran Mccullough added a comment -

        Steps to reproduce:

        • Load app in IE7/8
        • Enter in some text into the input fields.
        • Click on the clear button, input fields get cleared but also the width that was applied is ignored.
        Show
        Arran Mccullough added a comment - Steps to reproduce: Load app in IE7/8 Enter in some text into the input fields. Click on the clear button, input fields get cleared but also the width that was applied is ignored.
        Hide
        Mircea Toma added a comment -

        The problems lies into IE's CSS parser unfortunately. When the input element is updated the style="width:200px" attribute is not interpreted properly. Once the semicolon is added at the end CSS property (style="width:200px;" ) things start to work as expected.
        Marking this issue as invalid since its not really a ICEfaces/JSF issue.

        Show
        Mircea Toma added a comment - The problems lies into IE's CSS parser unfortunately. When the input element is updated the style="width:200px" attribute is not interpreted properly. Once the semicolon is added at the end CSS property (style="width:200px;" ) things start to work as expected. Marking this issue as invalid since its not really a ICEfaces/JSF issue.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: