ICEfaces
  1. ICEfaces
  2. ICE-10964

ace:pushButton and ace:linkButton type=clear issue with ace:textEntry using inField label and pre-loaded value.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1
    • Fix Version/s: EE-4.1.0.RC1, EE-4.1.0.GA, 4.2.BETA, 4.2
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 4 trunk r47630, Tomcat 8, all browsers
    • Assignee Priority:
      P2

      Description

      Issue found when using the Clear button in a form that has an ace:textEntry with a preloaded value and an inField label. If the Clear button is pressed before entering input into the ace:textEntry, newly entered input becomes part of the inField label. This issue seems to be exclusive to ace:textEntry. It is not an issue with ace:textAreaEntry, ace:maskedEntry, ace:dateTimeEntry etc.
      To reproduce:
      1.) Use the QA test application /ClearResetSubmit.jsf found at:
      http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/pushButton.
      2.) Scroll down to Form 2. Notice the preloaded values in each input.
      3.) Press the Clear button at the bottom of the form. Notice all inputs display the inField label.
      4.) Insert the cursor into the ace:textEntry. The inField label is not removed as it should be.
      5.) Type into the ace:textEntry. The new input becomes part of the inField label.
      6.) Press the submit button. The newly typed input is removed and the inField label is redisplayed.

        Activity

        Hide
        Arturo Zambrano added a comment -

        r47790: fix to make sure to send to the client a flag indicating that the component has an infield label, even if the component has a preloaded value and is initially rendered with it

        Show
        Arturo Zambrano added a comment - r47790: fix to make sure to send to the client a flag indicating that the component has an infield label, even if the component has a preloaded value and is initially rendered with it
        Hide
        Liana Munroe added a comment -

        Verified ICEfaces 4 trunk r47791, Tomcat 8, IE 11, 10, 9, 8, FF 43, Chrome 48.

        Show
        Liana Munroe added a comment - Verified ICEfaces 4 trunk r47791, Tomcat 8, IE 11, 10, 9, 8, FF 43, Chrome 48.

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Liana Munroe
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: